Date: Mon, 22 Aug 2011 20:47:33 -0700 From: Doug Barton <dougb@FreeBSD.org> To: Andrej Zverev <andrej.zverev@gmail.com> Cc: perl@freebsd.org, FreeBSD Current <freebsd-current@freebsd.org> Subject: Re: periodic weekly catman - perl problem Message-ID: <4E5322D5.7030403@FreeBSD.org> In-Reply-To: <CAD5bB%2BhvVkS%2BidCcddPS3t3pMjzhBX13P81ztXn_J_zg6egDDA@mail.gmail.com> References: <201108201123.p7KBNYFO008124@172-17-198-245.globalsuite.net> <4E520C64.1080603@FreeBSD.org> <CAD5bB%2BhvVkS%2BidCcddPS3t3pMjzhBX13P81ztXn_J_zg6egDDA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 08/22/2011 09:41, Andrej Zverev wrote: > > > On Mon, Aug 22, 2011 at 11:59 AM, Doug Barton <dougb@freebsd.org > <mailto:dougb@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/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4E5322D5.7030403>