tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Question: wip, git, ssh and permissions
Date: Mon, 24 Aug 2015 22:23:56 +0000
From: Ottavio Caruso <ottavio2006-netbsd%yahoo.com@localhost>
On 24 August 2015 at 22:21, Hubert Feyrer <hubert%feyrer.de@localhost> wrote:
> On Mon, 24 Aug 2015, Ottavio Caruso wrote:
>>
>> If I connect to git using ssh under my regular non-root account, will
>> I be able to transfer data, or should I connect using a root account,
>> in which case I'll have to make another keypair under root?
>
>
> Though shallst never work as root unless absolutely neccessary.
> cvs and git most likely do not call for root.
I am sorry, but if you want to write to /usr/pkgsrc you need root,
don't you? Otherwise you have to "chown" the whole tree to your
regular user.
You don't have to use /usr/pkgsrc. I never do -- I always use
~/pkgsrc/$BRANCH/pkgsrc (read-only, alongside
~/pkgsrc/$BRANCH/pkgsrc-cvs for the writable tree,
~/pkgsrc/$BRANCH/pkg for LOCALBASE, ~/pkgsrc/$BRANCH/distfiles, &c.).
Home |
Main Index |
Thread Index |
Old Index