summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2003-08-15 01:22:01 +0000
committerJeremy Allison <jra@samba.org>2003-08-15 01:22:01 +0000
commit87a672067de2cec9faccdbb4b99a74b78e9980f1 (patch)
tree5722c01010f584d78aeea94440b55e6151e807b0
parent8ceb628d5c09a393d7cc4f1e4301566dc9094282 (diff)
downloadsamba-87a672067de2cec9faccdbb4b99a74b78e9980f1.tar.gz
samba-87a672067de2cec9faccdbb4b99a74b78e9980f1.tar.bz2
samba-87a672067de2cec9faccdbb4b99a74b78e9980f1.zip
Fix attribute set using setfileinfo - Samba4 found.
Jeremy. (This used to be commit 309835deacea9e49a8867cc981e78e6ae3efe42b)
-rw-r--r--source3/smbd/trans2.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c
index 00e182b5b0..3716378b37 100644
--- a/source3/smbd/trans2.c
+++ b/source3/smbd/trans2.c
@@ -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;