On Fri, Apr 15, 2005 at 01:03:29PM -0700, John H. Robinson, IV wrote:
>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?
yeah, this box I ssh into root and "su - geo"... does that mean I
cannot echo >/dev/stderr??? apparently, but I'm not sure why. It's debian
stable with linux-2.6.11.6 (I think, it is a lot of hops, vnc -> w2000
-> vpn -> putty, to start, not checking just now), but I don't have the
super-uber group. :) Don't think, pretty sure, there is no devfs.
// George
--
George Georgalis, systems architect, administrator Linux BSD IXOYE
http://galis.org/george/ cell:646-331-2027 mailto:[EMAIL PROTECTED]
--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list