On Sat, 2013-10-26 at 16:33 +0200, spamvoll at googlemail.com
wrote:> Hi all,
>
> Ive setup Samba 4.1 and have setup Roaming Profiles and User Homes.
>
> [Profiles]
> path = /home/Profiles/
> read only = no
>
> [Users]
> comment = Home Directories
> directory_mode: parameter = 0700
> path = /home/HOME
> read only = No
> csc policy = documents
>
> Both are working and are created automaticly, BUT everyone has full access
> to all HOMEDIRS.
>
> Users is completely browsabe and User have full rights.
>
> Can someone please tell me how I can restrict access only to the owner ?
> With Profiles that is working.
>
> Regards
> Hans
There are loadsa ways of doing it, but this works quite well:
path = /your/share.user.only
read only = No
#store dos attributes = Yes
create mask = 0600
directory mask = 0700
browseable = No
guest ok = No
printable = No
#profile acls = Yes
csc policy = disable
Uncomment store dos attributes and profile acls for profiles.
HTH
Steve