diff options
author | Samba Release Account <samba-bugs@samba.org> | 1997-06-16 20:49:15 +0000 |
---|---|---|
committer | Samba Release Account <samba-bugs@samba.org> | 1997-06-16 20:49:15 +0000 |
commit | 2a33e58d18f400a05aeef00ba27f2b3c12ac315c (patch) | |
tree | 566fbed5efb1ddf7b15fd07ab41a524bccd0ae43 /source3/smbd | |
parent | e14d99fd0d4bc3c27fe1f38f11e281a8f78cdeb1 (diff) | |
download | samba-2a33e58d18f400a05aeef00ba27f2b3c12ac315c.tar.gz samba-2a33e58d18f400a05aeef00ba27f2b3c12ac315c.tar.bz2 samba-2a33e58d18f400a05aeef00ba27f2b3c12ac315c.zip |
charset.c: Dropped debug message to level 6.
loadparm.c: Added "time server" parameter.
nameserv.h: Added "time server" parameter.
proto.h: Added lp_time_server().
server.c: Removed incorrect | 0700 - this was a whistle specific change.
Jeremy (jallison@whistle.com).
(This used to be commit 54dcca1240ec0a7f107f8a77e0893855015f9d29)
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/server.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/smbd/server.c b/source3/smbd/server.c index a44745496b..c808eac06a 100644 --- a/source3/smbd/server.c +++ b/source3/smbd/server.c @@ -141,8 +141,10 @@ mode_t unix_mode(int cnum,int dosmode) result |= (S_IWUSR | S_IWGRP | S_IWOTH); if (IS_DOS_DIR(dosmode)) { + /* We never make directories read only for the owner as under DOS a user + can always create a file in a read-only directory. */ result |= (S_IFDIR | S_IXUSR | S_IXGRP | S_IXOTH | S_IWUSR); - result &= (lp_dir_mode(SNUM(cnum)) | 0700); + result &= lp_dir_mode(SNUM(cnum)); } else { if (MAP_ARCHIVE(cnum) && IS_DOS_ARCHIVE(dosmode)) result |= S_IXUSR; |