From owner-freebsd-current@FreeBSD.ORG Tue Aug 23 03:47:35 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx2.freebsd.org (mx2.freebsd.org [IPv6:2001:4f8:fff6::35]) by hub.freebsd.org (Postfix) with ESMTP id 8189C1065734; Tue, 23 Aug 2011 03:47:35 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from 172-17-198-245.globalsuite.net (hub.freebsd.org [IPv6:2001:4f8:fff6::36]) by mx2.freebsd.org (Postfix) with ESMTP id E58D214E4AE; Tue, 23 Aug 2011 03:47:33 +0000 (UTC) Message-ID: <4E5322D5.7030403@FreeBSD.org> Date: Mon, 22 Aug 2011 20:47:33 -0700 From: Doug Barton Organization: http://SupersetSolutions.com/ User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:6.0) Gecko/20110819 Thunderbird/6.0 MIME-Version: 1.0 To: Andrej Zverev References: <201108201123.p7KBNYFO008124@172-17-198-245.globalsuite.net> <4E520C64.1080603@FreeBSD.org> In-Reply-To: X-Enigmail-Version: undefined OpenPGP: id=1A1ABC84 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: perl@freebsd.org, FreeBSD Current Subject: Re: periodic weekly catman - perl problem X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Aug 2011 03:47:35 -0000 On 08/22/2011 09:41, Andrej Zverev wrote: > > > On Mon, Aug 22, 2011 at 11:59 AM, Doug Barton > 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/