From: pdchapin@unix.amherst.edu (Paul D. Chapin)
Subject: Simple umask question
Date: 1997/06/16 [thread overview]
Message-ID: <33a599a8.0@amhnt2.amherst.edu> (raw)
I must be missing something very basic here. My assumption was that
umask was used to set the default permissions on new files.
Therefore, if I did something simple, such as cat into a new file, a
umask of 077 would give me rwx------ and 022 would give me rwxr-xr-x.
That's not what's happening. The permissions appear to be determined
by the directory I'm in, not the umask. Everything in the top
directory is get rwxr-xr-x and in the subdirectories rwx------, no
matter what umask is set to.
What don't I understand.
--
Paul Chapin
pdchapin@unix.amherst.edu
reply other threads:[~1997-06-16 4:00 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox