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

Re: Basing new file permissions on current dir perms



On Friday 09 January 2004 05:06 am, Alex Malinovich wrote:
> Lets say I have a directory called mydirectory. The permissions are as
> follows:
> 
> drwxrwxr-x root mygroup

...

> What I want, is a way to force the default permissions for new files in
> this directory to be:
> 
> -rw-rw-r-- myuser mygroup

chmod g+s mydirectory

Note that changing the directory's group will clear the sticky bit.
--
Rob



Reply to: