Fix for special files being hidden from admins by Dmitry Butskoj <buc@odusz.elektra.ru>
authorJeremy Allison <jra@samba.org>
Tue, 23 Dec 2003 07:33:42 +0000 (07:33 +0000)
committerJeremy Allison <jra@samba.org>
Tue, 23 Dec 2003 07:33:42 +0000 (07:33 +0000)
Jeremy.
(This used to be commit bee4b3348e5052cc927c837c2a21b4c90db980fc)

source3/smbd/dir.c

index 94b605ee8f99a8e3a0ae3f7b419aea34ac124efd..bbd79e165975d9852f3b7d529b5b6952ea675cd3 100644 (file)
@@ -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))