The Samba-Bugzilla – Attachment 3639 Details for
Bug 5797
Moving readonly files fails
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for 3.2.x.
look (text/plain), 611 bytes, created by
Jeremy Allison
on 2008-09-26 17:19:40 UTC
(
hide
)
Description:
Patch for 3.2.x.
Filename:
MIME Type:
Creator:
Jeremy Allison
Created:
2008-09-26 17:19:40 UTC
Size:
611 bytes
patch
obsolete
>diff --git a/source/smbd/open.c b/source/smbd/open.c >index afe8d5e..c21ad20 100644 >--- a/source/smbd/open.c >+++ b/source/smbd/open.c >@@ -2662,9 +2662,7 @@ NTSTATUS create_file_unixpath(connection_struct *conn, > && (create_disposition != FILE_CREATE) > && (share_access & FILE_SHARE_DELETE) > && (access_mask & DELETE_ACCESS) >- && (((dos_mode(conn, fname, &sbuf) & FILE_ATTRIBUTE_READONLY) >- && !lp_delete_readonly(SNUM(conn))) >- || !can_delete_file_in_directory(conn, fname))) { >+ && (!can_delete_file_in_directory(conn, fname))) { > status = NT_STATUS_ACCESS_DENIED; > goto fail; > }
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 5797
: 3639