Re: umask is different in 8.0

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

 



On Thu, 19 Dec 2002 16:47:46 -0700
Ben Dugdale <turtlendog@rmusd.net> wrote:

> 
> In this example, shouldn't the permissions of 'foo' be rwxrwxrwx with
> a umask of 000 unless foo was a pre-existing file?  Your permissions
> are what I would expect with a umask of 111, but it works the same
> here (as your example).

no.  File defaults are 666, and directory defaults are 777.  Umask takes
bits away from these to create the effective permissions.  000 taken
away from 666 results in perms of 666.

-- 
Jesse Keating RHCE MCSE
For Web Services and Linux Consulting, Visit --> j2Solutions.net
Mondo DevTeam (www.mondorescue.org)

Was I helpful?  Let others know:
 http://svcs.affero.net/rm.php?r=jkeating



-- 
Psyche-list mailing list
Psyche-list@redhat.com
https://listman.redhat.com/mailman/listinfo/psyche-list

[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux