summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2003-12-23 07:33:42 +0000
committerJeremy Allison <jra@samba.org>2003-12-23 07:33:42 +0000
commit033fc98a6e340c3a87c20cc117384caa4ed36a30 (patch)
treeae15c243b51081f576c410b2aaf77d73737b80a5 /source3/smbd
parent380e1607784e5d6fc5235b98790180b9eb0878c1 (diff)
downloadsamba-033fc98a6e340c3a87c20cc117384caa4ed36a30.tar.gz
samba-033fc98a6e340c3a87c20cc117384caa4ed36a30.tar.bz2
samba-033fc98a6e340c3a87c20cc117384caa4ed36a30.zip
Fix for special files being hidden from admins by Dmitry Butskoj <buc@odusz.elektra.ru>
Jeremy. (This used to be commit bee4b3348e5052cc927c837c2a21b4c90db980fc)
Diffstat (limited to 'source3/smbd')
-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))