[plug] ownership
Cameron Patrick
cameron at patrick.wattle.id.au
Thu Jul 29 16:29:33 WST 2004
Marc Wiriadisastra wrote:
> smb sorry didn't understand the question. I've just added under the
> samba share directories.
> inherit permissions = yes
> create mode = 0770
> and in hte home directories
> force create mode = 0770
> force directory mode = 0770
> probably hsould have done 0660 though
>
> Anyways I think that is where my issue is.
Indeed it is. If you want the files to be world-readable (and it
sounds like you do), you should instead use something like this:
create mask = 0664
force create mode = 0664
directory mask = 0775
force directory mode = 0775
Note the last digit -- that's the permissions given to "others",
i.e. those who aren't either the owner of the file or in the same
group as the file.
Cameron.
More information about the plug
mailing list