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]

Reply via email to