Page 1 of 1
man-db permission denied
Posted: 29 Jun 2013, 05:53
by tommyk
After the update yesterday I get this on my debian box, only file in man1 is csf.1;
Cron <root@server> test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )
/etc/cron.daily/man-db:
/usr/bin/mandb: can't search directory /usr/local/share/man/man1/: Permission denied
I haven't changed any permissions on any var directories, at least not on purpose.
Permissions problem after CSF/LFD update
Posted: 29 Jun 2013, 11:43
by lpa
Yesterday I got a message that CSF/LFD was updated on my 2 servers.
This morning from both servers I got another message:
Code: Select all
/etc/cron.daily/man-db:
/usr/bin/mandb: can't search directory /usr/local/share/man/man1/: Permission denied
I checked directory
and found 1 file inside of it:
csf.1 and permission of this directory is:
- instead of
Why this uodate changed the permissions?
Re: man-db permission denied
Posted: 29 Jun 2013, 14:12
by robfantini
we had same issue, using Debian Wheezy
here is ls -l d before fixing:
Code: Select all
# ls -ld /usr/local/share/man/man1
drw---S--- 2 root staff 4096 Jun 29 04:36 /usr/local/share/man/man1
ps - I checked and thre eis a lready a bug reported.
Re: man-db permission denied
Posted: 29 Jun 2013, 14:15
by robfantini
Also another system did not have the issue.
/usr/local/share/man/man1 had other files besides csf.1 .
for the system witht the error, csf.1 is the only file in /usr/local/share/man/man1 .
so it looks like the issue is with mkdir .
Re: man-db permission denied
Posted: 29 Jun 2013, 15:08
by ForumAdmin
We'll have a fix for this in the next release.For now the following should fix it:
Code: Select all
chmod 755 /usr/local/man/
chmod 755 /usr/local/man/man1/
chmod 644 /usr/local/man/man1/csf.1
Re: man-db permission denied
Posted: 02 Jul 2013, 09:31
by ForumAdmin
This should now be fixed in csf v6.21:
http://blog.configserver.com/?p=1840