pcp
[Top] [All Lists]

Re: [pcp] Collateral damage in non-root changes

To: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Subject: Re: [pcp] Collateral damage in non-root changes
From: Nathan Scott <nathans@xxxxxxxxxx>
Date: Fri, 23 Nov 2012 18:12:54 -0500 (EST)
Cc: pcp@xxxxxxxxxxx
In-reply-to: <1353664693.2573.8.camel@xxxxxxxxxxxxxxxxxxxxxxx>
Reply-to: Nathan Scott <nathans@xxxxxxxxxx>

----- Original Message -----
> On Thu, 2012-11-22 at 03:17 -0500, Nathan Scott wrote:
> > ...
> > Otherwise maybe some selinux or other security module coming
> > into play?  (guessing wildly)
> 
> Explanation is here: http://lwn.net/Articles/390323/
> 
> Since the "primary" symlink can only ever be owned by "pcp", the fix
> is to make $PCP_TMP_DIR/pmlogger owned by "pcp".
> 

Does this have to be a symlink?  Would a hardlink do?  It's in the
same directory, so no cross-filesystem issues there... there'll be
a few -L tests here and there, but perhaps they could be reworked?
(symlink support lacking on Win32, generally, so others benefit as
well, in theory).

cheers.

--
Nathan

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