[Samba] Restrict access to users home drives

spamvoll at googlemail.com spamvoll at googlemail.com
Sat Oct 26 12:49:09 MDT 2013


Hi..

Im using XFS, so no user_xattr should be needed

> directory_mode: parameter = 0700
What is this for a parameter? I don't find "directory_mode" in the (4.0.9)
smb.conf manpage.

Correct its also not in 4.1. So it should not have any effect. Dont know
where it came from tested so much


2013/10/26 Marc Muehlfeld <samba at marc-muehlfeld.de>

> Hello Hans,
>
> Am 26.10.2013 17:14, schrieb spamvoll at googlemail.com:
>
>  I have exactly the same problem.
>> Just installed 4.1.0, roaming profiles are working, only the user has
>> access to it, but Users Home Shares are visible and writeable for all.
>>
>> [Users]
>>          comment = Home Directories
>>          directory_mode: parameter = 0700
>>          path = /home/HOME/
>>          read only = No
>>          csc policy = documents
>>
>> [Profiles]
>>       path = /home/Profiles/
>>       read only = no
>>
>
>
> Did you checked the HowTo?
> http://wiki.samba.org/index.**php/Setup_and_configure_file_**shares<http://wiki.samba.org/index.php/Setup_and_configure_file_shares>
>
>
> Have you enabled user_xattr on the filesystem where your homes are? And
> have you set the permissions on the share and it's folders on Windows?
>
>
>
> > directory_mode: parameter = 0700
>
> What is this for a parameter? I don't find "directory_mode" in the (4.0.9)
> smb.conf manpage.
>
>
>
>
> Regards,
> Marc
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/**mailman/options/samba<https://lists.samba.org/mailman/options/samba>
>


More information about the samba mailing list