[Samba] Fun with permissions

Walter Mautner retlaw.rentuam at gmail.com
Wed Apr 1 21:53:04 GMT 2009

Am Wednesday 01 April 2009 17:06:01 schrieb Mike Woods:
> Firstly, hello! :)
> I've been trying to setup a share with permissions to allow users within
> the web group to be able to put files up, have full access to their own
> files but read only access to other users files, I've got what I think
> should work, but it's not (hence this post).
> Within the web group there are users stuart and mike, i've been mounting
> common in two places (/mnt/tmp and /mnt/tmp2) under different users,
> when I create a file as stuart(bob.txt in tmp2) it gets created on the
> server with 0740 permissions and correct ownership however if I try and
> delete the file as mike (from tmp) it allows this even though mike
> should have only read permissions.
> Am I missing something here (possibly something painfully obvious as
> tends to be the way of things!)
Mike may be the owner of the directory and, as such, has permissions to delete 
files therein.
You will want to change ownership of the directory.

More information about the samba mailing list