git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
60cf7ad
)
silly me.
author
Andrew Tridgell
<tridge@samba.org>
Fri, 21 Aug 1998 07:25:57 +0000
(07:25 +0000)
committer
Andrew 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
patch
|
blob
|
history
diff --git
a/source3/utils/testparm.c
b/source3/utils/testparm.c
index c7cbab91b87ee9e8ea714f5af73ac71c73c14c99..e4c627d954f2568948fd41817fbe743c7ebf87c1 100644
(file)
--- 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 & 0
666) != 0644
) {
+ } else if ((st.st_mode & 0
777) != 0755
) {
printf("WARNING: lock directory %s should have permissions 0644 for browsing to work\n",
lp_lockdir());
}