The Samba-Bugzilla – Attachment 1630 Details for
Bug 3348
File in sticky dir can be opened with DELETE_ACCESS by user without write permssion
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
proposed patch
samba-3.0.21+svn.can_delete_file_in_directory.patch (text/plain), 524 bytes, created by
SATOH Fumiyasu
on 2005-12-22 02:09:54 UTC
(
hide
)
Description:
proposed patch
Filename:
MIME Type:
Creator:
SATOH Fumiyasu
Created:
2005-12-22 02:09:54 UTC
Size:
524 bytes
patch
obsolete
>Index: SAMBA_3_0/source/smbd/posix_acls.c >=================================================================== >--- SAMBA_3_0/source/smbd/posix_acls.c (revision 12426) >+++ SAMBA_3_0/source/smbd/posix_acls.c (working copy) >@@ -4149,10 +4149,9 @@ BOOL can_delete_file_in_directory(connec > if(SMB_VFS_STAT(conn, fname, &sbuf_file) != 0) { > return False; > } >- if (current_user.uid == sbuf_file.st_uid) { >- return True; >+ if (current_user.uid != sbuf_file.st_uid) { >+ return False; > } >- return False; > } > #endif >
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 3348
: 1630