The Samba-Bugzilla – Attachment 977 Details for
Bug 2201
KB885835 (MS04-044) breaks deletion of read only files
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch
look (text/plain), 712 bytes, created by
Jeremy Allison
on 2005-02-22 19:21:07 UTC
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Jeremy Allison
Created:
2005-02-22 19:21:07 UTC
Size:
712 bytes
patch
obsolete
>Index: smbd/trans2.c >=================================================================== >--- smbd/trans2.c (revision 5505) >+++ smbd/trans2.c (working copy) >@@ -2958,10 +2958,12 @@ > * Only allow delete on close for writable files. > */ > >- if (dosmode & aRONLY) { >- DEBUG(10,("set_delete_on_close_internal: file %s delete on close flag set but file attribute is readonly.\n", >- fsp->fsp_name )); >- return NT_STATUS_CANNOT_DELETE; >+ if (!lp_delete_readonly(SNUM(fsp->conn))) { >+ if (dosmode & aRONLY) { >+ DEBUG(10,("set_delete_on_close_internal: file %s delete on close flag set but file attribute is readonly.\n", >+ fsp->fsp_name )); >+ return NT_STATUS_CANNOT_DELETE; >+ } > } > > /*
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 2201
: 977