[Samba] subshares ?

John H Terpstra jht at samba.org
Wed Jun 4 14:10:16 GMT 2003


On Wed, 4 Jun 2003, ipguy wrote:

> so my only option is NT ACL support then...

Why do you believe that you need ACLs per se to achieve your goals?

Why can you not achieve the same thing with Unix directory and file
permissions?

- John T.

>
>
>
>
>
> > On Tue, 3 Jun 2003, ipguy wrote:
> >
> > > hi all...
> > > i have what seems a simple question regarding subshares, for lack of a
> better term...
> > > say i have a share with specific user/group permissions and a directory
> inside the share that i would like to add different user/group
> permissions...
> > > this is an example of my smb.conf file to illustrate
> > >
> > > [driveA]
> > > path = /samba/driveA
> > > browseable = Yes
> > > writeable = Yes
> > > valid users = PDC+groupA
> > > force group = PDC+groupA
> > >
> > > [driveB]
> > > path = /samba/driveA/driveB
> > > browseable = No
> > > writeable = Yes
> > > valid users = PDC+groupB
> > > force group = PDC+groupB
> > > inherit permissions = No
> > >
> > > shouldn't this restrict groupA users from accessing the subshare called
> > > "driveB" located inside the share "/samba/driveA" ??
> >
> > driveB is a directory in /samba/driveA from the perspective of the driveA
> > share. IT is NOT a sub-share, there is no such thing in the SMB/CIFS
> > protocol specification.
> >
> > That means that users of the share called driveA will be able to access
> > the contents of the directory driveB as permitted by the permissions on
> > the driveBdirectory.
> >
> > - John T.
> > --
> > John H Terpstra
> > Email: jht at samba.org
>

-- 
John H Terpstra
Email: jht at samba.org



More information about the samba mailing list