summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1998-08-21 07:25:57 +0000
committerAndrew Tridgell <tridge@samba.org>1998-08-21 07:25:57 +0000
commitcc32fc2af0a8cd2cd7cab5a14cc6e956dbb500ab (patch)
treed15d837f67b3f817fad31a27df6f81a687fc1f8c
parent60cf7ad5cf53534b72189e1cfa3495e804cc0efc (diff)
downloadsamba-cc32fc2af0a8cd2cd7cab5a14cc6e956dbb500ab.tar.gz
samba-cc32fc2af0a8cd2cd7cab5a14cc6e956dbb500ab.tar.bz2
samba-cc32fc2af0a8cd2cd7cab5a14cc6e956dbb500ab.zip
silly me.
perms on lock dir should be 755 not 644. (This used to be commit 930a4292e95947d20696b7ce08bbb936442fe327)
-rw-r--r--source3/utils/testparm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/testparm.c b/source3/utils/testparm.c
index c7cbab91b8..e4c627d954 100644
--- a/source3/utils/testparm.c
+++ b/source3/utils/testparm.c
@@ -61,7 +61,7 @@ cannot be set in the smb.conf file. nmbd will abort with this setting.\n");
if (!directory_exist(lp_lockdir(), &st)) {
printf("ERROR: lock directory %s does not exist\n",
lp_lockdir());
- } else if ((st.st_mode & 0666) != 0644) {
+ } else if ((st.st_mode & 0777) != 0755) {
printf("WARNING: lock directory %s should have permissions 0644 for browsing to work\n",
lp_lockdir());
}