Re: periodic weekly catman - perl problem

From: Doug Barton <dougb_at_FreeBSD.org>
Date: Mon, 22 Aug 2011 20:47:33 -0700
On 08/22/2011 09:41, Andrej Zverev wrote:
> 
> 
> On Mon, Aug 22, 2011 at 11:59 AM, Doug Barton <dougb_at_freebsd.org
> <mailto:dougb_at_freebsd.org>> wrote:
> 
>     I have the catman option enabled for periodic/weekly and get the
>     following errors:
> 
>     Reformatting manual pages:
>     catman: /usr/local/lib/perl5/5.12.4/man/cat3: mkdir: Permission denied
>     catman: /usr/local/lib/perl5/5.12.4/perl/man/cat3: mkdir: Permission
>     denied
> 
> 
>     It seems that the cat3 directories are not created because the man
>     directories are owned by root, and the cat* directories are owned by
>     man, which is what the 330.catman script operates as.
> 
>     Creating those directories with the proper permissions allows the catman
>     periodic script to do its thing. So my question is, is this something
>     that the catman periodic script should be doing, or should the perl port
>     be doing it?
> 
> Hello, Doug. I couldn't find which way is correct in this situation but
> I can propose the following patch:
> http://sunner.semmy.ru/~az/perl-man.txt if this solve issue when you can
> knock-knock at skv's (perl maintainer) door.

Thanks for looking at this, but you're solving the wrong problem. :)
It's the cat* directories that need to be owned by man.

Having thought about this more, I think it's the 330.catman script that
needs to ensure that these directories exist, likely with 'install -d'.
I'll try to get to it, but if someone else is quicker ...


Doug

-- 

	Nothin' ever doesn't change, but nothin' changes much.
			-- OK Go

	Breadth of IT experience, and depth of knowledge in the DNS.
	Yours for the right price.  :)  http://SupersetSolutions.com/
Received on Tue Aug 23 2011 - 01:47:35 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:17 UTC