Michiel Boland, on 2003-12-15, 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.
They certainly cannot be writable by all; /dev/stdout will be a link to /(proc or dev)/fd/1, which in turn will be a symlink to a terminal if it is looked at while run from a terminal. You certainly don't want everyone to have +rw on your terminal. -- Frank Tobin http://www.neverending.org/~ftobin/
