[KLUG Members] File Permissions

Michael Lueck mlueck at lueckdatasystems.com
Tue Apr 11 10:11:53 EDT 2006


On Tue, 11 Apr 2006 17:58:18 +0530, agencies_ad1 at sancharnet.in wrote:

>I need
>to add more than one group to a file/folder

Then you need to kick ACL's and EA's into action.

You need an ACL / EA compliant file system, XFS suggested.

I toss these entries in the global section of smb.conf

;New things global to all shares for ACL support...
   map hidden = no
   map system = no
   map archive = no
   store dos attributes = yes   

Then this one either on global, or on the shares you care about ACL's working
as expected.

   inherit acls = yes

Now, with this in place, Samba will no longer mesh DOS and Linux style
attributes, they will be separate.

As well, you can put ACL's and default ACL's on folders ahead of time. As files
are created, they will inherit the ACL. So you can put your few groups of
access onto a directory, bingo it starts happening.

There are more settings you can tinker with, check the Samba docs. This is sort
of the "get ACL/EA working 101" edition.

Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/




More information about the Members mailing list