Re: Set the default file mode?



In comp.os.linux.misc, Balwinder S Dheeman wrote:

On 04/28/2008 01:48 PM, Rui Maciel wrote:
Is there a way to set a default file mode which all new files, when
created by a certain user, adopt?

Thanks in advance

Yeah, depends on the default shell. We use bash, it has a builtin
function 'umask'. Please read the manpages for bash, builtins and, or
your preferred shell.


And remember: umask /removes/ permissions, it does not set them.

--
Lew Pitcher

Master Codewright & JOAT-in-training | Registered Linux User #112576
http://pitcher.digitalfreehold.ca/ | GPG public key available by request
---------- Slackware - Because I know what I'm doing. ------


.



Relevant Pages