what userid do you update system sources under?

Dan Langille dan at langille.org
Tue Sep 28 20:46:24 UTC 2021

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 at langille.org

More information about the freebsd-questions mailing list