From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,b1e76e70bd6f8c7,start X-Google-Attributes: gidfee84,public From: pdchapin@unix.amherst.edu (Paul D. Chapin) Subject: Simple umask question Date: 1997/06/16 Message-ID: <33a599a8.0@amhnt2.amherst.edu>#1/1 X-Deja-AN: 248890389 Organization: University of Massachusetts, Amherst Newsgroups: comp.unix.osf.osf1 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