Umask and Samba
andyjhiscock at yahoo.com
Tue Apr 14 16:57:47 UTC 2009
Having problems with create mask in samba since changing my umask in /etc/login.conf to 007.
I have created a share folder in /usr/homes with mod 770. Accessing and writing/creating files/directories via ftp is as expected (-rw-rw----) but when copying a file via samba I get a real mix of permissions, after many hours of playing with the create mask value in smb.conf I get typically:
Ideally I would like to "create mask" to be set to generate -rw-rw----. Is there a way of working what the value should be?
Find below a copy of my share section of smb.conf;
Thanks in advance.
More information about the freebsd-questions