Group only, viewed share

Volker Lendecke Volker.Lendecke at SerNet.DE
Wed May 31 07:15:32 GMT 2000


On Wed, May 31, 2000 at 11:10:52AM +1000, Jeffrey W. Hampson wrote:

> I have a share that I would only like a partilcular group to be able to
> view.

You will always 'see' the share, because Samba has to offer this
information even if you only log in anonymously. You will however not
be able to access it

> [SCS]
> path = /usr/home/SCSCAS/SCS
> directory mode = 0770
> read list = @SCS
> write list = @SCS
> public = no
> force group = SCS

For this setup, I would always use

[SCS]
path = /usr/home/SCSCAS/SCS
directory mode = 0770
create mode = 770
force directory mode = 020
force create mode = 020
force group = SCS
write ok = yes
valid users = @SCS


Hope this helps,

Volker


More information about the samba-ntdom mailing list