View Single Post

  #3 (permalink)  
Old 05-21-2004
Cameron Kerr
 
Posts: n/a
Default Re: Different user/group/permissions depending on which folder inside the Samba share a file is created in?

In comp.os.linux.networking arabub <arabub@yahoo.com> wrote:
> Is it possible to achieve different permissions on a newly created
> file or folder depending on which folder inside a Samba share it is
> created in?


You could do this on the server if you use ACLs. I think most modern
distributions deal with these. You can set up an ACL on each directory
to specify a default user and group for new objects, though I've not
used that capability for quite some time.

See the manual page for setacl (?), or do a 'man -k acl'

--
Cameron Kerr
cameron.kerr@paradise.net.nz : http://nzgeeks.org/cameron/
Empowered by Perl!
Reply With Quote