[sudo-users] umask value getting Bitwise OR'ed when creating dir after running sudo
ravivjreddy at gmail.com
Wed Jun 15 09:38:09 EDT 2011
I am using sudo binary ( version 1.7.2p1 ) on RHEL 5 32 bit. I am
observing a behavior where when I run sudo as user User1 , User1's umask
value would be bitwise OR'ed with that of umask value of Real User's. IE ,
umask of user1 after sudo = ( umask default value in /etc/sudoers file ) |
real user's umask. How do I stop this union of umask values from happening?
I want to use the exact umask value specified in the /etc/sudoers file.
More information about the sudo-users