Re: shell script for checking and starting?

Thomas Seifert <[email protected]> Mon, 15 Dec 2003 18:01:25 +0100
Newsgroups gmane.network.mathopd
Message-ID <[email protected]>
Michiel Boland wrote:

>>I need to redirect all logs to stdout, but this doesn't work on Linux.
>>/dev/stdout on Linux is a symlink into /proc and the device ownership
>>is determined by the UID of the invoking user. User ``www'' cannot write
>>to stdout owned by root... Any ideas?
>>    
>>
>
>Are you saying that, on Linux, the permissions on /dev/stdout are not
>0666? That is just silly.
>
>Anyway, if I have some time I will try to create a workaround.
>  
>

Hmm, Redhat 7.2 here ...
$ ls -l /dev/stdout
lrwxrwxrwx    1 root     root           17 Oct 24  2002 /dev/stdout -> 
../proc/self/fd/1


no problem afaik :).


thomas