[Samba] How to give one user write permissions to HOME shares

John H Terpstra jht at samba.org
Mon Apr 21 20:10:44 GMT 2003


Thanks so much for answering this clearly. Always use a simple solution
where possible. We should approach a problem with a complex solution only
after we have exhausted all simple options. My experience is that a
complex solution (like using Posix ACLs) will bite the administrator who
does not have in-depth knowledge of the site.

- John T.

On Mon, 21 Apr 2003, Jerome Walter wrote:

> On Mon, Apr 21, 2003 at 02:10:05PM -0400, Dan Didier wrote:
> > So what is the best way to do this?
> First, check the unix rights you gave to mmurrock user.
> If he is not in a group which has rights to write, whatever Samba would do, he
> would not be able to write.
> A little exemple to make it clear :
> Assume that /home/* belongs to "myusers" group. If mmurrock is not in this
> group, add it. If, for a reason (restriction on other directories), you could
> create another group in which mmurrock and the other users in previous group
> (the ones in %S) are.
> chgrp newgroup * and its on the road ...
> That's where i use ACL to enable sharing on a per-user basis, but many people
> do not like it. You should first get used to use groups before crapping your
> kernel and file rights with ACLs.
> Best regards,
> Jerome

John H Terpstra
Email: jht at samba.org

More information about the samba mailing list