summaryrefslogtreecommitdiff
path: root/source3/smbd/dir.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2003-12-23 07:33:38 +0000
committerJeremy Allison <jra@samba.org>2003-12-23 07:33:38 +0000
commitcd852878298e2d786f420b68f44eb5ca91e7db42 (patch)
treef713c82c0afa22ddc50891f66a826f8b690e517f /source3/smbd/dir.c
parenta7e2a1a9193478b8002ddd55256468a7924d9bb1 (diff)
downloadsamba-cd852878298e2d786f420b68f44eb5ca91e7db42.tar.gz
samba-cd852878298e2d786f420b68f44eb5ca91e7db42.tar.bz2
samba-cd852878298e2d786f420b68f44eb5ca91e7db42.zip
Fix for special files being hidden from admins by Dmitry Butskoj <buc@odusz.elektra.ru>
Jeremy. (This used to be commit a14259d885291c138d3d62d36737472048840aa6)
Diffstat (limited to 'source3/smbd/dir.c')
-rw-r--r--source3/smbd/dir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/dir.c b/source3/smbd/dir.c
index 94b605ee8f..bbd79e1659 100644
--- a/source3/smbd/dir.c
+++ b/source3/smbd/dir.c
@@ -793,7 +793,7 @@ static BOOL file_is_special(connection_struct *conn, char *name, SMB_STRUCT_STAT
*/
if (conn->admin_user)
- return True;
+ return False;
/* If we can't stat it does not show it */
if (!VALID_STAT(*pst) && (SMB_VFS_STAT(conn, name, pst) != 0))