- 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.