[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Running bootstrap as standard user but without --unprivileged” flag?
On 1 December 2017 at 14:10, Jason Bacon <bacon4000%gmail.com@localhost> wrote:
> On 12/01/17 07:45, Sevan Janiyan wrote:
>>> On 1 Dec 2017, at 12:14, Ottavio Caruso <ottavio2006-degen%yahoo.com@localhost>
>>> Is it possible to run the intitial bootstrap as standard user but
>>> being able to write to /usr without being root?
>>> In other words, I'm fine with running bootstrap as root but I'd like
>>> to keep the pkgsrc directory with my own user's permission.
>> Use bootstrap with a prefix specified.
>> ./bootstrap --prefix /home/foo
> If I'm reading the question correctly, and you really want to install in
> /usr, you could probably premake the directories:
> mkdir /usr/pkg /usr/pkgsrc
> chown yourlogin /usr/pkg /usr/pkgsrc
> /bootstrap --unprivileged ...
I thought about doing that; in which case I assume I don't need the
--unprivileged flag. Correct if I'm wrong.
In other words I'd like bootstrap to ask me to be root only when
necessary, a bit like just-in-time su when running "make install".
I think once I tried to run "bootstrap --unprivileged" but it
wouldn't accept other flags.
73 de ottavio M6OTV
Main Index |
Thread Index |