bkwq Posted November 14 Posted November 14 (edited) Unraid has a umask of 000 which translates to 666 for files and 777 folders. The default Samba config is trying to force 777 on both files and folders. However the resulting permissions are actually 766 for files and 777 for folders. smb-names.conf create mask = 0777 directory mask = 0777 I believe the default Samba config should be create mask 666 and directory mask 777 to match the system umask. Even the New Permissions tool within the web interface uses these permissions. This has been bugging me for quite a while now. I know I can set my own Samba parameters to correct this. Am I missing something as to why the default config is set? Thank you. Edited November 14 by bkwq Quote
Frank1940 Posted November 14 Posted November 14 This is a difficult to figure out as (in my experience) files are created with 666 permissions. This is the explanation from samba.org on what this parameter is intended to do. Normally, UNIX/Linux does not want the 'execute' bit set for files for security reasons. (This was even true when I took an introductory course in Unix back in the late 1970's when UNIX was still had a bit of the wild west in its developers' hearts!) Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.