summaryrefslogtreecommitdiffstats
path: root/source/smbd/open.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2001-11-27 06:28:06 +0000
committerJeremy Allison <jra@samba.org>2001-11-27 06:28:06 +0000
commit014b0973a3b3b9eb22cce3053171fa55f5c16a63 (patch)
tree62bbdbb9a96ad63a079f99c22f9bbb3fb90e9f6e /source/smbd/open.c
parent96224fe2d40d0ce79d1215bb6f0d17291cace7b9 (diff)
downloadsamba-014b0973a3b3b9eb22cce3053171fa55f5c16a63.tar.gz
samba-014b0973a3b3b9eb22cce3053171fa55f5c16a63.tar.xz
samba-014b0973a3b3b9eb22cce3053171fa55f5c16a63.zip
nsswitch/winbindd_group.c nsswitch/winbindd_user.c: formatting fixups.
smbd/open.c: Fix "delete on close" for directories. Jeremy.
Diffstat (limited to 'source/smbd/open.c')
-rw-r--r--source/smbd/open.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/smbd/open.c b/source/smbd/open.c
index 1eae228f404..7c4e69946f7 100644
--- a/source/smbd/open.c
+++ b/source/smbd/open.c
@@ -1129,7 +1129,7 @@ files_struct *open_directory(connection_struct *conn, char *fname,
fsp->can_lock = True;
fsp->can_read = False;
fsp->can_write = False;
- fsp->share_mode = 0;
+ fsp->share_mode = share_mode;
fsp->print_file = False;
fsp->modified = False;
fsp->oplock_type = NO_OPLOCK;