default fmask, dmask, umask
Can anyone tell me what the default values are for fmask, dmask, umask and how can I change these default values. How can I read what the current values are for a particular mount?
Thanks, Nick |
UMASK is usually set system-wide somewhere in /etc; on my systems it is set in the file login.defs:
Code:
# Default initial "umask" value. Code:
prompt: umask fmask and dmask default to the value of UMASK of the current process (see the manual page for mount), fmask and dmash can be optionally set by mount. Hope this helps some. |
Thanks tronayne, UMASK setting in /etc/login.defs now found, that is set to 077. However 'umask' returns: 0002. Not sure how that relates to the default fmask & dmask though.
Cheers, Nick |
All times are GMT -5. The time now is 12:45 AM. |