[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?
>>>
>>> Thanks.
>>>
>> 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...
>>
>> regards
>> Pierre

> 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 \
	file=./man/$lang/xfce4-terminal.1; \
	if test -f $file ; then \
		if test x"$lang" = x"C"; then \
			dest=/usr/share/man/man1; \
		else \
			dest=/usr/share/man/$lang/man1; \
		fi; \
		/bin/sh
/home/fernando/tmp/paco-build-2013.12.27-13h28m17s/xfce4-terminal-0.6.3/install-sh
-d $dest; \
		dest=`echo $dest/xfce4-terminal.1 | sed 's,x,x,'`; \
		/usr/bin/install -c -m 644 $file $dest; \
	fi \
done;
}}}

But ghostscript was the other one I could find with reference to
/usr/share/man:

{{{
/bin/sh -c 'test -d /usr/share/man || mkdir -p /usr/share/man'
}}}

So, still a mystery.

-- 
[]s,
Fernando



More information about the blfs-dev mailing list