[Samba] SAMBA - how to restrict read and write

TAKAHASHI Motonobu monyo at monyo.com
Sun Oct 16 08:37:09 MDT 2011

From: fasil km <fasilkaks at gmail.com>
Date: Sun, 16 Oct 2011 12:30:14 +0300

> Hi Paul,
> Thanks for the prompt reply :)
> I have done the changes that you mentioned in your post. That doesn't help
> either.

As far as I see your smb.conf, only remove "read only = no" is enough
to set read/write access as you want.

> I need both armand and carlo be able to write to the share and rest of the
> users be able to view.

Add "force group = sharewrite"

> Now when the user carlo creates anything inside the share, it is not
> accessible (or viewed) by any other users including armand.

What does "ls -l" show about the file?

The path /armand_share is on the local machine or on CIFS share of
another machine?

TAKAHASHI Motonobu <monyo at samba.gr.jp>

More information about the samba mailing list