[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: what umask?



3 digits: nnn for user, group, world (other)

Within each digit are three possible values which mush together:
 0 = nothing
 1 = eXecute
 2 = Write
 4 = Read
 
chmod uses these values to confir privelege so giving read-write to
owner but total lockout to group & world is

% chmod 600 file.foo

umask uses the values to *take away*  specified privilege so umask of
007 takes away nothing (leaves rwx in effect) for user & group and
takes away rwx for other.

--emk

> Date: Fri, 25 Apr 1997 17:33:09 +1000
> From: Lawrence Chim <ychim@yallara.cs.rmit.edu.au>
> To: debian-user@lists.debian.org
> Subject: what umask?
> Resent-From: debian-user@lists.debian.org
> 
> what is the umask to mount a partition that allows user and group "rwx"
> permission
> and other none, i.e. "---".
> 
> -- 
> Lawrence Chim	ychim@numbat.cs.rmit.edu.au
> 
> 
> --
> TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
> debian-user-request@lists.debian.org . Trouble? 
> e-mail to templin@bucknell.edu .
> 


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: