Fix attribute set using setfileinfo - Samba4 found.
authorJeremy Allison <jra@samba.org>
Fri, 15 Aug 2003 01:22:01 +0000 (01:22 +0000)
committerJeremy Allison <jra@samba.org>
Fri, 15 Aug 2003 01:22:01 +0000 (01:22 +0000)
Jeremy.
(This used to be commit 309835deacea9e49a8867cc981e78e6ae3efe42b)

source3/smbd/trans2.c

index 00e182b5b085e9e25a67613a46c7c0b1e10b948f..3716378b37b06791b450d2db7046629433c7f7c9 100644 (file)
@@ -2920,9 +2920,6 @@ size = %.0f, uid = %u, gid = %u, raw perms = 0%o\n",
        DEBUG(6,("modtime: %s ", ctime(&tvs.modtime)));
        DEBUG(6,("size: %.0f ", (double)size));
 
-       if (dosmode == FILE_ATTRIBUTE_NORMAL)
-               dosmode = 0;
-
        if (dosmode) {
                if (S_ISDIR(sbuf.st_mode))
                        dosmode |= aDIR;