Bug 5841 - smb donot return error for a file with extended attribute
Summary: smb donot return error for a file with extended attribute
Status: NEW
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: File Services (show other bugs)
Version: 3.0.28
Hardware: x86 Linux
: P3 enhancement
Target Milestone: none
Assignee: Samba Bugzilla Account
QA Contact: Samba QA Contact
URL:
Keywords:
: 5844 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-10-22 08:21 UTC by hargagan
Modified: 2009-09-17 16:23 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description hargagan 2008-10-22 08:21:10 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.
Comment 1 Volker Lendecke 2008-10-22 08:26:17 UTC
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.

Volker
Comment 2 Volker Lendecke 2008-10-23 00:12:39 UTC
*** Bug 5844 has been marked as a duplicate of this bug. ***
Comment 3 Björn Jacke 2009-09-17 16:23:20 UTC
Novell: any news on this one? Patches to upstream are welcome!