The Samba-Bugzilla – Attachment 3961 Details for
Bug 6082
smbd_gpfs_getacl failed: Windows client can´t rename or delete file
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Experimental patch for 3.3.1
look (text/plain), 969 bytes, created by
Jeremy Allison
on 2009-02-27 23:11:01 UTC
(
hide
)
Description:
Experimental patch for 3.3.1
Filename:
MIME Type:
Creator:
Jeremy Allison
Created:
2009-02-27 23:11:01 UTC
Size:
969 bytes
patch
obsolete
>diff --git a/source/smbd/open.c b/source/smbd/open.c >index bbf1b40..38a2c87 100644 >--- a/source/smbd/open.c >+++ b/source/smbd/open.c >@@ -2462,6 +2462,25 @@ NTSTATUS open_directory(connection_struct *conn, > fname, > access_mask, > &access_granted); >+ >+ /* Were we trying to do a directory open >+ * for delete and didn't get DELETE >+ * access (only) ? Check if the >+ * directory allows DELETE_CHILD. >+ * See here: >+ * http://blogs.msdn.com/oldnewthing/archive/2004/06/04/148426.aspx >+ * for details. */ >+ >+ if ((NT_STATUS_EQUAL(status, NT_STATUS_ACCESS_DENIED) && >+ (access_mask & DELETE_ACCESS) && >+ (access_granted == DELETE_ACCESS) && >+ can_delete_file_in_directory(conn, fname))) { >+ DEBUG(10,("open_directory: overrode ACCESS_DENIED " >+ "on directory %s\n", >+ fname )); >+ status = NT_STATUS_OK; >+ } >+ > if (!NT_STATUS_IS_OK(status)) { > DEBUG(10, ("open_directory: check_open_rights on " > "file %s failed with %s\n",
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 6082
:
3908
| 3961