Set write permissions by default for group?

Stephen Carville stephen at totalflood.com
Fri Feb 16 19:38:06 UTC 2007


David Miller wrote:
> I'm setting up a share through Samba and want one of the folders under 
> the share to set the group and give write permissions to that group for 
> any file/folder created. Is their a method to make files and folders 
> inherit the permissions and group from it's parent directory? Right now 
> all new files and folders are created with the correct group but do not 
> get write permissions for that group.

Check the settings:

   create mask
   force create mode
   directory mask
   force directory mode

You can also try "inherit permissions" which overrides any of the above 
but be sure you understand how it works.

--
Stephen Carville
Systems Engineer
Land America




More information about the redhat-list mailing list