From 930a4292e95947d20696b7ce08bbb936442fe327 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 21 Aug 1998 07:25:57 +0000 Subject: [PATCH] silly me. perms on lock dir should be 755 not 644. --- source/utils/testparm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/utils/testparm.c b/source/utils/testparm.c index c7cbab91b87..e4c627d954f 100644 --- a/source/utils/testparm.c +++ b/source/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()); } -- 2.11.4.GIT