Re: what is umask?
- From: Lew Pitcher <Lew.Pitcher@xxxxxx>
- Date: Tue, 06 Dec 2005 15:59:44 -0500
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Osman wrote:
> Dear Member what is umask?
> and what is the relationship between umask and the file permission
umask identifies (to the kernel) which file permission bits you /don't/
want to be set. If a program sets those bits, the umask will unset them.
For instance, if you have a program that always creates it's output file
with
u=rw,g=rw,o=rw (666)
and you /don't/ want "group write" or "other write" permissions to be
set, you would set your umask to
umask 022 (g=w,o=w)
and that would ensure that any file created by processes that inherit
the umask do /not/ set the "group write" or "other write" permission bits.
- --
Lew Pitcher, IT Specialist, Enterprise Data Systems
Enterprise Technology Solutions, TD Bank Financial Group
(Opinions expressed here are my own, not my employer's)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (MingW32)
iD8DBQFDlfvAagVFX4UWr64RAi3GAJ9nNzfMIVLP/OHY406ax1s2NATLrQCfS2pY
5iAxRcH+6xivPBvEhpWt+Lk=
=5pBg
-----END PGP SIGNATURE-----
.
- References:
- what is umask?
- From: Osman
- what is umask?
- Prev by Date: FTP .message not displaying in all clients.
- Next by Date: Re: what is umask?
- Previous by thread: what is umask?
- Next by thread: Re: what is umask?
- Index(es):
Relevant Pages
|