silly me.
authorAndrew Tridgell <tridge@samba.org>
Fri, 21 Aug 1998 07:25:57 +0000 (07:25 +0000)
committerAndrew Tridgell <tridge@samba.org>
Fri, 21 Aug 1998 07:25:57 +0000 (07:25 +0000)
perms on lock dir should be 755 not 644.
(This used to be commit 930a4292e95947d20696b7ce08bbb936442fe327)

source3/utils/testparm.c

index c7cbab91b87ee9e8ea714f5af73ac71c73c14c99..e4c627d954f2568948fd41817fbe743c7ebf87c1 100644 (file)
@@ -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());
        }