umask on potato is 022 while on woody it's 0022. I compared the files listed below and they look like their defaults though I'm comparing potato to woody. dunno what the problem is.
-justin -----Original Message----- From: Sean Perry [mailto:[EMAIL PROTECTED] On Behalf Of Sean 'Shaleh' Perry Sent: Wednesday, April 24, 2002 12:50 PM To: [EMAIL PROTECTED] Cc: debian-user@lists.debian.org Subject: Re: basic directory perm question On 24-Apr-2002 justin cunningham wrote: > Why is it that when I create a directory on one machine an 's' is added > to the permissions? > > Ex. drwxr-sr-x 2 sam sam 4096 Apr 24 05:17 test > drwxr-sr-x 2 root root 4096 Apr 24 05:18 test2 > > while on another machine this is not the case. I compared /etc/skel > files and there the same. what's wrong? > at the prompt type 'umask' and it will show you the current umask your shell is using. When you write,create,etc a file this umask is subtracted from 777. ~/.bashrc or ~/.bash_profile or even ~/.profile could be responsible. The s means that when a file is written your group gets permissions. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]