Hello!

I would like to know if this is standard behaviour for /dev/stderr:

marvin:~# su enrico
[EMAIL PROTECTED]:/root$ echo hello, world > /dev/stdout
bash: /dev/stdout: Permission denied
[EMAIL PROTECTED]:/root$ ls -la /dev/stdout
lrwxrwxrwx    1 root     root            4 apr 12  1999 /dev/stdout -> fd/1
[EMAIL PROTECTED]:/root$ ls -la /dev/fd/1
lrwx------    1 enrico   enrico         64 gen  6 13:51 /dev/fd/1 -> /dev/tty12
[EMAIL PROTECTED]:/root$ ls -la /dev/tty12
crw-------    1 root     tty        4,  12 gen  6 13:51 /dev/tty12
[EMAIL PROTECTED]:/root$

Here we have tty12 still owned by root, but making /dev/std{in,out,err} devices
unwritable, when IMHO they should be.

Is this normal behaviour or should I file a bug agains login, the package that
contains /bin/su?

                                Read you soon! Enrico

--
GPG public key available on finger -l [EMAIL PROTECTED]

Reply via email to