Saving a file removes the group execute permission
Hi,
Here are some example files that are shared through samba:
-rwxrwx--- user1 group1 file1.txt
-rwxrwx--- user1 group1 file2.txt
When user2 (who is also a member of group1) edits file2.txt the permissions change:
-rwxrwx--- user1 group1 file1.txt
-rwxrw---- user2 group1 file2.txt
user1 then has issues opening the file. This also goes for new files that are created (they are missing the group execute permission).
I have set the option "create mask = 0770" in my smb.conf. Without this set, permissions default to something like -rwxr--r-- so this has helped a bit!
Any help would be greatly appreciated.
Last edited by jsteel; 05-23-2011 at 11:53 AM.
|