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

RE: Set write permissions by default for group?



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 redhat com
[mailto:redhat-list-bounces 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 redhat com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list



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