The Samba-Bugzilla – Bug 5841
smb donot return error for a file with extended attribute
Last modified: 2009-09-17 16:23:20 UTC
I am using 3.0.28 version of samba.
I am having a problem where the smb doesn't return error in the smb_set_file_disposition_info(), when I am trying to delete a file on the NSS volume. The file has the delete inhibit attribute set. The error access denied is returned in the reply_close() path where it does unlink() on that file.
In this scenario, when I delete the file from the windows XP client, the file gets disappear untill refresh is done. So client doesn't get any error whatsoever for a file which was not deleted.
You will have to fix the can_delete_file_in_directory() routine to look at your special, non-posix bits. Or rather go and implement a get_security_descriptor vfs call for your NetWare ACLs.
*** Bug 5844 has been marked as a duplicate of this bug. ***
Novell: any news on this one? Patches to upstream are welcome!