summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1997-10-27 14:27:17 +0000
committerAndrew Tridgell <tridge@samba.org>1997-10-27 14:27:17 +0000
commit71d648cdb431ecf984196a7e480208a94fcdf390 (patch)
treeca2ebf89d320d18000b145647afbbf0b11273bda /source3/smbd
parent464dc5433641566abeeabd07f46ab569c986a3b0 (diff)
downloadsamba-71d648cdb431ecf984196a7e480208a94fcdf390.tar.gz
samba-71d648cdb431ecf984196a7e480208a94fcdf390.tar.bz2
samba-71d648cdb431ecf984196a7e480208a94fcdf390.zip
change the default file permissions on the SHARE_MEM_FILE* to
0644. smbstatus now gets only read permission on the share files and does no locking. also get rid of some unnecessary umask(0) calls. smbd always runs with umask(0) (This used to be commit c6ac10170dbba57dfebc54c50d79cb29d13bb442)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/server.c b/source3/smbd/server.c
index 88f7497ee5..93042e119b 100644
--- a/source3/smbd/server.c
+++ b/source3/smbd/server.c
@@ -5145,7 +5145,7 @@ static void usage(char *pname)
if (!open_sockets(is_daemon,port))
exit(1);
- if (!locking_init())
+ if (!locking_init(0))
exit(1);
/* possibly reload the services file. */