[Samba] create and directory mask ignored for profiles?

steve steve at steve-ss.com
Thu Oct 2 11:54:48 MDT 2014


On 19/09/14 05:44, Jon Martin wrote:
> On our old 3.6.x PDC profiles are created the way we want (mode 700/600).
> I am upgrading the hardware and putting OpenSUSE 13.1 with samba-4.1.11
> on it.  In testing I have found that no matter what I do, profile
> directories are created mode 770 and files mode 670.
>
> The profile share config:
>    path = /local/samba/profiles  # this dir is mode 1777, old and new
>    profile acls = yes
>    browseable = no
>    guest ok = no
>    read only = no
>    csc policy = disable
>    create mask = 0600
>    directory mask = 0700
>    store dos attributes = yes
>

Hi
On 4.1, just use:
chmod 1777 /local/smb/profiles
and
[profiles]
path = /local/samba/profiles
read only = No

That works with AD domains anyway.
HTH,
Steve





More information about the samba mailing list