summaryrefslogtreecommitdiff
path: root/source3/smbwrapper/smbw.h
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1998-10-06 11:14:52 +0000
committerAndrew Tridgell <tridge@samba.org>1998-10-06 11:14:52 +0000
commit58f6c75babebcf05c9ef5bb50dc433e55156b6ec (patch)
treeb43eee685ae5c6204e831b16f87beea9b1c889ac /source3/smbwrapper/smbw.h
parented75bab8e22c1cbebe0238a689f7994f3817ee8f (diff)
downloadsamba-58f6c75babebcf05c9ef5bb50dc433e55156b6ec.tar.gz
samba-58f6c75babebcf05c9ef5bb50dc433e55156b6ec.tar.bz2
samba-58f6c75babebcf05c9ef5bb50dc433e55156b6ec.zip
implemented attribute mapping and chmod. file attributes are mapped in
the same manner as smbd. See the README for a full explanation. (This used to be commit 0a5dcddd3fa23081d7cd214acc32b8046125a74e)
Diffstat (limited to 'source3/smbwrapper/smbw.h')
-rw-r--r--source3/smbwrapper/smbw.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbwrapper/smbw.h b/source3/smbwrapper/smbw.h
index 2f16efd216..43fb14bce0 100644
--- a/source3/smbwrapper/smbw.h
+++ b/source3/smbwrapper/smbw.h
@@ -25,8 +25,8 @@
#define SMBW_CLI_FD 512
#define SMBW_MAX_OPEN 8192
-#define SMBW_FILE_MODE (S_IFREG | 0644)
-#define SMBW_DIR_MODE (S_IFDIR | 0755)
+#define SMBW_FILE_MODE (S_IFREG | 0444)
+#define SMBW_DIR_MODE (S_IFDIR | 0555)
#define SMBW_PWD_ENV "PWD"