Make newly created directories 0775 by default

aragonx at dcsnow.com aragonx at dcsnow.com
Mon Feb 4 23:13:31 UTC 2008


> Hi all,
>           Presently when somebody creates a directory, it's 0755. i.e. not
> writable by the group. I have a file server and would like to change this
> default property such that when somebody created a directory it's 0775.
> i.e.
> writable by the group. For my file server, this is a must as users of the
> same group need to be able to edit each others folders. Thanks.

You say file server.  Does that mean you are using Samba?  If so, I
believe you would want to add a line like this:

force directory mode = 0770

You would want to add this to your smb.conf file (found in /etc/samba on
my system).  Then you would probably need to restart Samba by doing
something like this:

/etc/init.d/smb restart




-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.




More information about the fedora-list mailing list