Set write permissions by default for group?

Steven Kalisky Steven_Kalisky at symantec.com
Fri Feb 16 20:36:47 UTC 2007


I had the same issues and found these two settings for the smb.conf
file....

 
directory mask = 774
force group = smbqa



-----Original Message-----
From: redhat-list-bounces at redhat.com
[mailto:redhat-list-bounces at redhat.com] On Behalf Of Stephen Carville
Sent: Friday, February 16, 2007 11:38 AM
To: General Red Hat Linux discussion list
Subject: Re: Set write permissions by default for group?

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

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list




More information about the redhat-list mailing list