owner of symlink /dev/stdin does not match /dev/pts/7
Posted: Sat Nov 26, 2016 6:34 am
gradm -C gives me following (false) warning:
And here is relevant snippet from the subject in role testuser:
there are several symlinks involved here:
and obviously, these symlinks resolve differently for root and testuser
I beleive this is a bug. Although this is only a warning, it is actually annoying.
- Code: Select all
Warning: owner of symlink /dev/stdin in role testuser, subject /bin/zsh does not match that of its target /dev/pts/7
And here is relevant snippet from the subject in role testuser:
- Code: Select all
subject /bin/zsh o {
...
/dev/pts/ rw
/dev/stdin rw
...
/proc/*/fd/ rw
...
}
there are several symlinks involved here:
- Code: Select all
/dev/stdin -> /proc/self/fd/0
/proc/self/fd/0 -> /dev/pts/8
and obviously, these symlinks resolve differently for root and testuser
I beleive this is a bug. Although this is only a warning, it is actually annoying.