[Samba] Mapping of Unix groups to Samba user permissions

Richard Foltyn richard.foltyn at gmail.com
Fri May 30 08:22:25 GMT 2008


On 5/30/08, Lars Poulsen <lars at beagle-ears.com> wrote:
Unfortunately, the group-write permission
> will not propagate that way, so a cron job runs twice a day to set
> group-write on all directories with the tree of each share.

BTW, you don't need a cron job to do that since samba can manage this
for you every time a file or directory is created.

Have a look at "force create  mode" and "force directory mode" in smb.conf(5).

Setting

force directory mode  = 0020
force create mode = 0020

im smb.conf will ensure that any files/directories created will be
group-writable.

- Richard


More information about the samba mailing list