[Samba] subdirectories with different permissions

Cleber P. de Souza cleberps at gmail.com
Thu Mar 1 21:02:18 GMT 2007


You can accomplish this using ACL on the filesystem and setting up the
properly permissions on these directories.


On 3/1/07, Matt Ingram <mingram at cbnco.com> wrote:
> Several users keep asking for a similar setup, and I'm wondering if
> there's a way to achieve it with a single samba share.
>
>
> They'll ask for a single share drive the has multiple subdirectories
> with each subdirectory having different permissions based on groups.
>
> So say you have a share called COLOURS and inside that share are three
> subdirectories, RED, GREEN and BLUE.
>
> Group1 should have RW access to everything, and Group2 should have RW to
> RED, Read-only to GREEN and no access to BLUE.
>
>
> I typically will just create three shares for them (RED, GREEN and BLUE)
> and provide access accordingly - as I don't think there's another way.
> If there's a way to achieve this, please let me know.
>
> Thanks,
>
> Matt.
>
> --
> Matt Ingram
> Intermediate Unix Administrator, IS
> Canadian Bank Note Company, Limited
> \m/
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/listinfo/samba
>


-- 
***
Cleber P. de Souza


More information about the samba mailing list