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

2013-12-31 Thread Pierre Labastie
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
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


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

2013-12-31 Thread Fernando de Oliveira
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
> 

Thanks, Pierre. So obvious, why could not I think that, duh?

27-Dec-2013 13:28  xfce4-terminal-0.6.3

Now, need to see if it is really this one, the problem.

-- 
[]s,
Fernando
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


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

2013-12-31 Thread Fernando de Oliveira
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
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


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

2013-12-31 Thread Ken Moffat
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
-- 
das eine Mal als Tragödie, dieses Mal als Farce
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

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

2013-12-31 Thread Fernando de Oliveira
Em 31-12-2013 13:38, Ken Moffat escreveu:
> 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...


>>> 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.

I knew there was a similar problem, and was hoping someone would remember.

You did. Right on the spot: git. I uncompressed the tarballs in a
dir1/dir2/ temp directory, and it changed the permissions. For some
unknown reasons, I followed that thread but did not update my script.
Repeated a wrong install, man problem back, corrected by hand and with
the good script, everything is good, now.

Thanks Pierre and, specially, ĸen and his wonderful memory.

-- 
[]s,
Fernando
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

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

2013-12-31 Thread Pierre Labastie
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
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

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

2013-12-31 Thread Pierre Labastie
Le 31/12/2013 18:18, Pierre Labastie a écrit :
> 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
> 

Forget my last message, which I wrote before seeing yours. Glad you solved it.
And I must memorize that git manpages are mean!

Regards
Pierre


Pierre
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page