[Samba] question about groups
TAKAHASHI Motonobu
monyo at monyo.com
Sat Jul 30 12:26:45 MDT 2011
From: Dale Schroeder <dale at BriannasSaladDressing.com>
Date: Fri, 29 Jul 2011 12:30:31 -0500
> Andrea,
>
> How about doing 'chmod 2770 /path/to/share' and also on all existing
> subfolders of /path/to/share.
> In the share definition, you could also add
>
> directory mask = 2770
> force directory mode = 2770
Also you have to set "chgrp group2 /path/to/share2", "force group =
group2", and "force create mode" set for example "660"
To set those, files created under share2 always belongs to
"group2" and also has the "770" permission.
---
TAKAHASHI Motonobu <monyo at samba.gr.jp>
More information about the samba
mailing list