[Samba] File Permissions
Jeremy Allison
jra at samba.org
Tue Mar 5 21:05:57 UTC 2019
On Tue, Mar 05, 2019 at 08:56:23PM +0000, Thomas Rieff via samba wrote:
> I have been noticing an issue with file permissions and curious as to your thoughts on this.
> In the one directory the files started as...
> ...a 777 file was users[100] and root...now they are gc[1002] and fred_smith [1005], but the permissions changed to 764. I have a mask as 775, but this does not seem to be the case???
> Here is my smb.conf...curious as to what I may have wrong on this???
>
>
> [global]
>
> workgroup = CLS
>
> server string = %h server (Samba, Ubuntu)
>
> wins support = yes
>
> log file = /var/log/samba/log.%m
>
> max log size = 1000
>
> syslog = 0
>
> panic action = /usr/share/samba/panic-action %d
>
> server role = standalone server
>
> passdb backend = tdbsam
>
> obey pam restrictions = yes
Try removing "obey pam restrictions = yes".
Alexander discovered this changes the umask
on the server.
More information about the samba
mailing list