Re: Set the default file mode?
- From: Lew Pitcher <lpitcher@xxxxxxxxxxxx>
- Date: Mon, 28 Apr 2008 14:00:57 -0400
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. ------
.
- References:
- Set the default file mode?
- From: Rui Maciel
- Re: Set the default file mode?
- From: Balwinder S Dheeman
- Set the default file mode?
- Prev by Date: Re: Cloning a disk over the Ethernet
- Next by Date: Re: Recommendations for a home file server?
- Previous by thread: Re: Set the default file mode?
- Next by thread: Re: Set the default file mode?
- Index(es):
Relevant Pages
|