pcp
[Top] [All Lists]

Re: Installing files/dirs as non-root:root user and group

To: Nathan Scott <nathans@xxxxxxxxxx>
Subject: Re: Installing files/dirs as non-root:root user and group
From: Dave Brolley <brolley@xxxxxxxxxx>
Date: Fri, 21 Jun 2013 11:01:17 -0400
Cc: pcp@xxxxxxxxxxx
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <1097929496.5228235.1371765651634.JavaMail.root@xxxxxxxxxx>
References: <698020944.4509484.1371683485976.JavaMail.root@xxxxxxxxxx> <51C35A06.6050909@xxxxxxxxxx> <1097929496.5228235.1371765651634.JavaMail.root@xxxxxxxxxx>
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130514 Thunderbird/17.0.6
Thanks Nathan,

I'll make the suggested changes and do some testing over the weekend.

Dave

On 06/20/2013 06:00 PM, Nathan Scott wrote:
With the makefile fix, this should be able to move up within the "if" branch. The chmod looks fishy - needs to be "775" I think? (and I'd do that within the mkdir still via the -m option).
I had 775 originally, but qa test 023 (probably among others) was still failing. It starts pmcd in the foreground as the user running the test (brolley in my case). This resulted in EACCESS when pmcd attempted to bind to the socket. The bind(3) man page told me that write access to the directory is required. Changing it to 777 fixed the problem.

Dave

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