On 08/22/2011 09:41, Andrej Zverev wrote:
> 
> 
> On Mon, Aug 22, 2011 at 11:59 AM, Doug Barton <do...@freebsd.org
> <mailto:do...@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/

_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Reply via email to