[Samba] Share access problem
Rowland Penny
rpenny at samba.org
Tue Aug 29 20:42:02 UTC 2017
On Tue, 29 Aug 2017 16:20:57 -0400
<Sebastien.Boulianne at cpu.ca> wrote:
> Hi Rowland,
>
> https://wiki.samba.org/index.php/Setting_up_a_Share_Using_POSIX_ACLs
> What do you think about that config for the share FTPFiles ?
> Does it has some directives you would remove ?
>
> [FTPFiles]
> comment = Files
> path = /glftpd/site
> guest ok = no
> public = no
> writable = yes
> printable = no
> browseable = yes
> read only = no
> inherit acls = yes
> inherit permissions = yes
> create mask = 0777
> directory mask = 0777
> # ?? force create mode = 0660
> # ?? force directory mode = 0660
> hide unreadable = Yes
> hide unwriteable files = Yes
> access based share enum = Yes
> valid users = DOM\"domain users"
> admin users = DOM\"domain admins"
>
public is a synonym for 'guest ok' and the default for 'guest ok' is
no, so you don't need either of these lines
'printable = no', this is a default setting
'writable = yes' is the same as 'read only = no' (think about it), I
would leave the 'read only' line in.
I would change the '0777' to '0770' otherwise anybody may be able
connect. The rest looks okay, but then I would set the ACLs from
Windows ;-)
Rowland
More information about the samba
mailing list