At the "map read only = permissions" in smb.conf(5): it says: ----- o Permissions - The read only DOS attribute is mapped to the effective permissions of the connecting user, as evaluated by smbd(8) by reading the unix permissions and POSIX ACL (if present). ----- As far as I examined: POSIX ACL is never refered to. ----- For example: If ACLs of a file is like: # file: test.txt # owner: local # group: local user::r-x group::r-x group:group1:rwx other::r-x And when an account which belongs to the "group1" group sees the attributes for test.txt, "read only" is still checked. I tested on Debign GNU/Linux 4.0 and Samba 3.2.4 (self-compiled). I think at first to modify smb.conf(5) manual page is better.
Jeremy, is this a documentation problem? Volker
I checked again at Samba 3.2.4/Samba 3.5.4 and found "map read only = yes" works fine. ----- smb.conf: map read only = yes (store dos attributes = no) ----- ----- # ls -la total 8 drwxrwxrwx 2 root root 4096 2010-09-30 07:09 . drwxrwxrwx 6 root root 4096 2010-09-30 07:02 .. -r-xr--r-- 1 monyo monyo 0 2010-09-30 07:02 file1.txt -r-xrw-r-- 1 monyo monyo 0 2010-09-30 07:02 file2.txt -rwxr--r-- 1 monyo monyo 0 2010-09-30 07:02 file3.txt -r-xrw-r-- 1 local monyo 0 2010-09-30 07:02 file4.txt -rwxrw-r-- 1 root root 0 2010-09-30 07:08 file5.txt -rwxrwxr--+ 1 root root 0 2010-09-30 07:08 file6.txt (u:monyo:rwx) -rwxrwxr--+ 1 root root 0 2010-09-30 07:08 file7.txt (g:monyo:rwx) ----- Accessed as user monyo (whose group is monyo) and file1.txt, file2.txt and file5.txt are shown as read only, this is my expected behavior. Sorry for invalid bug report.