[blfs-dev] man pages permissions wrong: none displayed
Fernando de Oliveira
famobr at yahoo.com.br
Tue Dec 31 05:49:48 PST 2013
Em 31-12-2013 10:07, Fernando de Oliveira escreveu:
> Em 31-12-2013 09:19, Pierre Labastie escreveu:
>> Le 31/12/2013 12:50, Fernando de Oliveira a écrit :
>>> I discovered today that no man page was displayed. The reason was a
>>> directory with wrong permissions:
>>> $ ls -dl /usr/share/man
>>> drwxr-x--- 52 root root 4096 Dez 27 13:28 /usr/share/man
>>> No idea why.
>>> Corrected with:
>>> # chmod -c 2775 /usr/share/man
>>> Any way of discovering the source for the problem?
>> If you have no file monitoring installed, the only indication you have is the
>> date (December 27) and the time (13:28) it got modified for the last time.
>> And then, try to remember (or to find logs of) what you were doing at that time...
> 27-Dec-2013 13:28 xfce4-terminal-0.6.3
> Now, need to see if it is really this one, the problem.
It does not, just installs a man page with 664:
for lang in C ar ca da de el es fr gl id it ja ko lt pl pt_BR pt ru sr
sv tr ug uk zh_CN; do \
if test -f $file ; then \
if test x"$lang" = x"C"; then \
-d $dest; \
dest=`echo $dest/xfce4-terminal.1 | sed 's,x,x,'`; \
/usr/bin/install -c -m 644 $file $dest; \
But ghostscript was the other one I could find with reference to
/bin/sh -c 'test -d /usr/share/man || mkdir -p /usr/share/man'
So, still a mystery.
More information about the blfs-dev