pcp
[Top] [All Lists]

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

To: Nathan Scott <nathans@xxxxxxxxxx>
Subject: Re: [pcp] Collateral damage in non-root changes
From: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Sat, 24 Nov 2012 10:20:23 +1100
Cc: pcp@xxxxxxxxxxx
In-reply-to: <1624458126.30490689.1353712374797.JavaMail.root@xxxxxxxxxx>
References: <1624458126.30490689.1353712374797.JavaMail.root@xxxxxxxxxx>
On Fri, 2012-11-23 at 18:12 -0500, Nathan Scott wrote:
> 
> ----- 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).

No reason for it to be a symlink that I can think of ... good
suggestion.

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