The Samba-Bugzilla – Attachment 4565 Details for
Bug 6173
Cannot rename files with read-only attribute (Access denied)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Allow renaming of readonly files
rename-readonly.patch (text/plain), 604 bytes, created by
Eric Shubert
on 2009-08-15 18:38:50 UTC
(
hide
)
Description:
Allow renaming of readonly files
Filename:
MIME Type:
Creator:
Eric Shubert
Created:
2009-08-15 18:38:50 UTC
Size:
604 bytes
patch
obsolete
>--- samba-3.0.33/source/smbd/nttrans.c 2008-11-18 08:37:41.000000000 -0700 >+++ samba-3.0.33-ejs/source/smbd/nttrans.c 2009-08-15 12:55:54.000000000 -0700 >@@ -690,8 +690,7 @@ > && (create_disposition != FILE_CREATE) > && (share_access & FILE_SHARE_DELETE) > && (access_mask & DELETE_ACCESS)) { >- if ((dos_mode(conn, fname, &sbuf) & FILE_ATTRIBUTE_READONLY) || >- !can_delete_file_in_directory(conn, fname)) { >+ if (!can_delete_file_in_directory(conn, fname)) { > restore_case_semantics(conn, file_attributes); > END_PROFILE(SMBntcreateX); > return ERROR_NT(NT_STATUS_ACCESS_DENIED);
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 6173
:
3983
| 4565