Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Sep 2021 16:46:15 -0400
From:      Dan Langille <dan@langille.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: what userid do you update system sources under?
Message-ID:  <f0a73858-93b1-d13e-58c2-896e4ff8bb6b@langille.org>
In-Reply-To: <YVMiaWBxb/dbAPzX@ceres.zyxst.net>
References:  <YVMiaWBxb/dbAPzX@ceres.zyxst.net>

next in thread | previous in thread | raw e-mail | index | archive | help
tech-lists wrote on 9/28/21 10:10 AM:
> Hi,
> 
> When git updates your system sources, are you updating with a specific
> git user, or do you just use root, and if *automatically* refreshing your
> tree (like in a cronjob), again as git user or root? Or some other user?

Are you referring to /usr/src? for example...

I would do that as root.

> The reason I ask is that some instructions the quoted prompt updating
> the system is $ or % and not #. What way is the "right" way?

Usually, root owns /usr/src/ because the building is done as root.

-- 
Dan Langille
dan@langille.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?f0a73858-93b1-d13e-58c2-896e4ff8bb6b>