From cc32fc2af0a8cd2cd7cab5a14cc6e956dbb500ab Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 21 Aug 1998 07:25:57 +0000 Subject: silly me. perms on lock dir should be 755 not 644. (This used to be commit 930a4292e95947d20696b7ce08bbb936442fe327) --- source3/utils/testparm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3') 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()); } -- cgit