The Samba-Bugzilla – Bug 1227
All ACEs dropped when setting more ACEs then the OS supports
Last modified: 2005-11-14 09:40:57 UTC
I'm using ACLs on XFS. The max number of ACEs is 10. I set 10, and all is fine.
When I try to set 10 additional ACEs, all of the ACEs are removed except the
UNIX perms for UGO. This is loss of data, I would say, and it could be
disasterous for a customer who doesn't remember their exact permissions.
Previously, we just returned ACCESS DENIED when trying to set more than the OS
I've attached the log.smbd and a capture in Ethereal format
Created attachment 458 [details]
A bz2 of a tar with a log.smbd and a sniff showing this problem happening
This sniff and log.smbd shows:
1. Adding 10 ACEs successfully
2. Trying to more than the OS supports, which drops the ACEs set in 1
Ok, looking at the log I can't see the underlying system call giving an error on
the set - ie. there seems to be no error return on doing the set with more acls
than the system supports. Can you send me an strace showing this call, so I can
see what the OS is returning to smbd on the set ?
moving back to 3.0