Re: [gentoo-dev] rfc: ideas for fixing OpenRC checkpath issue

2018-01-17 Thread William Hubbs
On Wed, Jan 17, 2018 at 10:41:21AM -0500, Michael Orlitzky wrote: > If I want to create /run/foo and /run/foo/bar, both owned by the "foo" > user, how would I do it using newpath? > > 1. I could create /run/foo with owner "foo", and then create >/run/foo/bar with owner "foo". That can be done

Re: [gentoo-dev] rfc: ideas for fixing OpenRC checkpath issue

2018-01-17 Thread Michael Orlitzky
On 01/17/2018 10:21 AM, William Hubbs wrote: > > For both A and B above I think you mean owner/group/permissions right? Yep. >> 2. It should have a flag (say, --as=[:group]) to make it run as >> an unprivileged user. Basically a portable "su -c". > > I'm not following why I need this. >

Re: [gentoo-dev] rfc: ideas for fixing OpenRC checkpath issue

2018-01-17 Thread William Hubbs
On Sat, Jan 13, 2018 at 03:48:10PM -0500, Michael Orlitzky wrote: > On 01/10/2018 04:54 PM, William Hubbs wrote: > > > > What are we saying newpath should do differently than checkpath if I > > go this route? > > I think this covers everything that we've talked about: > > 1. It should refuse to