[blfs-dev] man pages permissions wrong: none displayed

Pierre Labastie pierre.labastie at neuf.fr
Tue Dec 31 09:18:42 PST 2013


Le 31/12/2013 17:38, Ken Moffat a écrit :
> On Tue, Dec 31, 2013 at 10:49:48AM -0300, Fernando de Oliveira wrote:
>> 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:
>>
>> /bin/sh -c 'test -d /usr/share/man || mkdir -p /usr/share/man'
>> }}}
>>
>> So, still a mystery.
>>
> 
>  We had this a few months ago - in that case it was the git
> manpages which are shipped in a separate tarball.  Unfortunately,
> this sort of error can remain hidden for several days (or longer)
> until we need to check a man page.
> 

>  Does a git manpage upgrade seem a likely possibility ?  If not, do
> you have any recent backups - and a list of what you installed - to
> help identify what range of packages were involved ?  Did you
> install any other *separate* manpage tarballs ?
> 
> ĸen
> 
Why did you use the setgid bit?

Anyway, maybe you could try to find which files have 660 or 640 (or anything
ending with 0) inside the /usr/share/man hierarchy?
for example: find /usr/share/man \! -perm /7



More information about the blfs-dev mailing list