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.
man-db permission denied
Permissions problem after CSF/LFD update
Yesterday I got a message that CSF/LFD was updated on my 2 servers.
This morning from both servers I got another message:
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?
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
Code: Select all
/usr/local/share/man/man1/
Code: Select all
drw---S--
Code: Select all
drwxr-sr-x
-
- Junior Member
- Posts: 2
- Joined: 18 Sep 2012, 22:47
Re: man-db permission denied
we had same issue, using Debian Wheezy
here is ls -l d before fixing:
ps - I checked and thre eis a lready a bug reported.
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
-
- Junior Member
- Posts: 2
- Joined: 18 Sep 2012, 22:47
Re: man-db permission denied
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 .
/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 .
-
- Moderator
- Posts: 1524
- Joined: 01 Oct 2008, 09:24
Re: man-db permission denied
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
-
- Moderator
- Posts: 1524
- Joined: 01 Oct 2008, 09:24
Re: man-db permission denied
This should now be fixed in csf v6.21:
http://blog.configserver.com/?p=1840
http://blog.configserver.com/?p=1840