procmail
[Top] [All Lists]

Re: (apparent/suspected) strange umask behavior when run as root

2004-02-07 12:02:12
On Sat, 7 Feb 2004, Gary Funck wrote:

LOG="USER: "`whoami`"$NL"
LOG="REAL USER: "`id -nru`"$NL"

and sure enough, I saw that the user id had switched to $LOGNAME, well
towards the top of /etc/procmailrc, but after the UMASK setting.

I've checked the procmail source and there doesn't seem to be anything
other than make a umask() system call, so that must be having an
unexepected a side-effect.


_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>