pcp
[Top] [All Lists]

Re: [pcp] pcp updates: qa + packaging/configuring

To: Nathan Scott <nathans@xxxxxxxxxx>
Subject: Re: [pcp] pcp updates: qa + packaging/configuring
From: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Thu, 22 Nov 2012 08:12:54 +1100
Cc: pcp@xxxxxxxxxxx
In-reply-to: <1353525733.19208.26.camel@xxxxxxxxxxxxxxxx>
References: <2031511353.29165231.1353470500146.JavaMail.root@xxxxxxxxxx> <1353525733.19208.26.camel@xxxxxxxxxxxxxxxx>
On Thu, 2012-11-22 at 06:22 +1100, Ken McDonell wrote:
> ...
> However, there is another BIGGER problem in this area ... the modes of
> the temporary directories in the debian packages are wrong (it maybe the
> case for other packaging but these are the packages I've been
> concentrating my diagnosis on).  They should be drwxrwxrwxt but are
> being packaged and installed as drwxr-xr-x.

OK some progress.

It appears to be the debian helper dh_fixperms that is resetting the
modes (I have proved this using --execlude tmp/pmlogger to dh_fixperms).

So the questions is ... did dh_fixperms change recently (google says
no), or is there some PCP change that has undone or unmasked the way
this was being "fixed" before?

The way to fix it appears to be in the pcp.postinst script ... does that
seem "right"?  I'd like to do it there, as I suspect I'm going to need a
chmod pcp.pcp ... there also.

<Prev in Thread] Current Thread [Next in Thread>