From cd852878298e2d786f420b68f44eb5ca91e7db42 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Tue, 23 Dec 2003 07:33:38 +0000 Subject: Fix for special files being hidden from admins by Dmitry Butskoj Jeremy. (This used to be commit a14259d885291c138d3d62d36737472048840aa6) --- 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