[Samba] Problem with ACL and Samba
Felipe Tocchetto
felipe at tocchetto.com
Wed Dec 19 00:15:42 GMT 2007
Dear All
I am facing a strange problem that I could not solve, so, maybe you can help
me.
Look at this situation:
I created a new directory with those ACLs (through Samba using Windows XP)
[root at server /home/smb/adm]# getfacl teste
#file:teste
#owner:1002
#group:1006
user::rwx
group::rwx
group:suporte:rwx
group:administ:rwx
mask::rwx
other::---
[root at server /home/smb/adm]# getfacl -d teste
#file:teste
#owner:1002
#group:1006
user::rwx
group::rwx
group:suporte:rwx
group:administ:rwx
mask::rwx
other::---
My ACLs are right, ok, now I will copy a XLS file to that folder:
[root at server /home/smb/adm]# getfacl teste/excel-test.xls
#file:teste/excel-test.xls
#owner:1002
#group:1006
user::rwx
group::rw-
group:suporte:rwx
group:administ:rwx
mask::rwx
other::---
OK, the samba server inhert the permissions and the ACLs, everything is fine
until now.
But when I edit this file with MS Excel, and save it, look what happen to
the ACLs:
[root at server /home/smb/adm]# getfacl teste/excel-test.xls
#file:teste/excel-test.xls
#owner:1002
#group:1006
user::rwx
group::---
group:suporte:rwx
mask::rwx
other::---
The ACL entry "group:administ:rwx" just have gone after I save the file.
It happens with Windows XP, Vista, Office 2003 and 2007. My samba version is
Samba version 3.0.26a, my SO is FreeBSD 6.2. I installed samba through
Ports.
Anybody knows what is wrong?
Thanks a lot!
More information about the samba
mailing list