George Georgalis wrote:
> what's wrong with this picture?
>
> $ echo >/dev/stderr ; ls -l /dev/{std*,fd/{0,1,2}}; umask
> su: /dev/stderr: Permission denied
> lrwx------ 1 geo geo 64 Apr 15 15:04 /dev/fd/0 ->
> /dev/pts/1
> lrwx------ 1 geo geo 64 Apr 15 15:04 /dev/fd/1 ->
> /dev/pts/1
> lrwx------ 1 geo geo 64 Apr 15 15:04 /dev/fd/2 ->
> /dev/pts/1
> lrwxrwxrwx 1 root root 4 Apr 8 14:33 /dev/stderr -> fd/2
> lrwxrwxrwx 1 root root 4 Apr 8 14:33 /dev/stdin -> fd/0
> lrwxrwxrwx 1 root root 4 Apr 8 14:33 /dev/stdout -> fd/1
> 0022
Looks good to me:
[EMAIL PROTECTED]:~]% echo >/dev/stderr ; ls -l /dev/{std*,fd/{0,1,2}}; umask;
tty
lrwx------ 1 jaqque Debian 64 Apr 15 14:02 /dev/fd/0 -> /dev/pts/4
lrwx------ 1 jaqque Debian 64 Apr 15 14:02 /dev/fd/1 -> /dev/pts/4
lrwx------ 1 jaqque Debian 64 Apr 15 14:02 /dev/fd/2 -> /dev/pts/4
lrwxrwxrwx 1 root root 4 Jun 18 2003 /dev/stderr -> fd/2
lrwxrwxrwx 1 root root 4 Jun 18 2003 /dev/stdin -> fd/0
lrwxrwxrwx 1 root root 4 Jun 18 2003 /dev/stdout -> fd/1
022
/dev/pts/4
The thing that has my interested is the ``su:'' part of the error. Were
you root, then su(1)'d to a user? Did you su(1) from one user to
another? What distro? What kernel? Is devfs in use?
-john
--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list