The Samba-Bugzilla – Attachment 1986 Details for
Bug 3858
hide unreadable together with wildcard operations fail
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch
look (text/plain), 1.62 KB, created by
Jeremy Allison
on 2006-06-26 18:33:13 UTC
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Jeremy Allison
Created:
2006-06-26 18:33:13 UTC
Size:
1.62 KB
patch
obsolete
>Index: smbd/dir.c >=================================================================== >--- smbd/dir.c (revision 16535) >+++ smbd/dir.c (working copy) >@@ -636,12 +636,7 @@ > return False; > } > >- if (SearchDir(dptr->dir_hnd, name, poffset)) { >- if (is_visible_file(dptr->conn, dptr->path, name, pst, True)) { >- return True; >- } >- } >- return False; >+ return SearchDir(dptr->dir_hnd, name, poffset); > } > > /**************************************************************************** >@@ -854,6 +849,8 @@ > > /* If we can't stat it does not show it */ > if (!VALID_STAT(*pst) && (SMB_VFS_STAT(conn, name, pst) != 0)) { >+ DEBUG(10,("user_can_read_file: SMB_VFS_STAT failed for file %s with error %s\n", >+ name, strerror(errno) )); > return False; > } > >@@ -992,6 +989,7 @@ > > /* If it's a vetoed file, pretend it doesn't even exist */ > if (use_veto && IS_VETO_PATH(conn, name)) { >+ DEBUG(10,("is_visible_file: file %s is vetoed.\n", name )); > return False; > } > >@@ -1003,16 +1001,19 @@ > } > /* Honour _hide unreadable_ option */ > if (hide_unreadable && !user_can_read_file(conn, entry, pst)) { >+ DEBUG(10,("is_visible_file: file %s is unreadable.\n", entry )); > SAFE_FREE(entry); > return False; > } > /* Honour _hide unwriteable_ option */ > if (hide_unwriteable && !user_can_write_file(conn, entry, pst)) { >+ DEBUG(10,("is_visible_file: file %s is unwritable.\n", entry )); > SAFE_FREE(entry); > return False; > } > /* Honour _hide_special_ option */ > if (hide_special && file_is_special(conn, entry, pst)) { >+ DEBUG(10,("is_visible_file: file %s is special.\n", entry )); > SAFE_FREE(entry); > return False; > }
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 3858
: 1986