From 033fc98a6e340c3a87c20cc117384caa4ed36a30 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Tue, 23 Dec 2003 07:33:42 +0000 Subject: Fix for special files being hidden from admins by Dmitry Butskoj Jeremy. (This used to be commit bee4b3348e5052cc927c837c2a21b4c90db980fc) --- source3/smbd/dir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) -- cgit