From owner-freebsd-questions@freebsd.org Tue Sep 28 20:46:24 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id CC5FA6AB9D1 for ; Tue, 28 Sep 2021 20:46:24 +0000 (UTC) (envelope-from dan@langille.org) Received: from wout5-smtp.messagingengine.com (wout5-smtp.messagingengine.com [64.147.123.21]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4HJs3z6HwPz4rLr for ; Tue, 28 Sep 2021 20:46:23 +0000 (UTC) (envelope-from dan@langille.org) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id 23E763201EAD for ; Tue, 28 Sep 2021 16:46:17 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Tue, 28 Sep 2021 16:46:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=langille.org; h= subject:to:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm2; bh=K BnguoKyZ0ydVF3rqU6/eGdRNw1/z3RHbNEPLDcdXvg=; b=Qe8PMYZnXyacS4T1P 4PnDjYn+FgD8o57diCdRi4kMwxX5wNi/ZJvfYHfAGkK3akDHxuI8aGIvUM0lpYgU 3OFNnWQNGH8QuYDfH/vMCPpeuR0cMk41SvcpMKQrBsxlDLS6QnfqdgoqQF7R9zbF iSZihQsqDM/EuoBLzz9OMdUrPU3nXF6UHf3Dfi6TK5R1ep6aR26t6mUDVWEsK0es WrDE3As555waGAC2QtiI04HCJQT6I1iB4YcHoWHieKQCw45NhbwXV1ZtSm8WA/+w E0IvOUs35ezAg5kNhxlrMFY1cw0K2Y+Lo1lduZVjxA84PCKpEp1hoTqs5/wDgrpk JNqsQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=KBnguoKyZ0ydVF3rqU6/eGdRNw1/z3RHbNEPLDcdX vg=; b=LIEG+EQM+n3dZKeIE4q4zgIu9tfcnLnVLYOltW7/pvgjZUD4pA8TF1sUu xKJW1gliwBfo28oTyLXgWLt/uGs1jOLmGb6K/LaKReWk4BDgJWJeb1Fez8OX8c0i wKl0xm4JU/ynkI9wmT4s3ZY1w6J+ipmqqwQJ9rYcghgifCd+/jL+WiUUIGqdHZ3Y nOrhfgBbuFn4BaWpHNTr+ra8mCwIQQ0zLWdUH04CVEzbYQqFmeCK/FAVl2fSjomZ ox6o3BF3TSoXMwk7E23O04wGpztxksC2f9aY06cSTa/gSiFfP8BRToHHQWEuchD5 PQ+TgNZBdc8pgCi+X0O9hJ+Q81neA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrudektddgudegkecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhepuffvfhfhkffffgggjggtgfesth ejredttdefheenucfhrhhomhepffgrnhcunfgrnhhgihhllhgvuceouggrnheslhgrnhhg ihhllhgvrdhorhhgqeenucggtffrrghtthgvrhhnpeehgfefkeegvdffgeehkefgjefgte elgeevleffkeeugfevhfeuveevvdeijeefveenucevlhhushhtvghrufhiiigvpedtnecu rfgrrhgrmhepmhgrihhlfhhrohhmpegurghnsehlrghnghhilhhlvgdrohhrgh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Tue, 28 Sep 2021 16:46:16 -0400 (EDT) Subject: Re: what userid do you update system sources under? To: freebsd-questions@freebsd.org References: From: Dan Langille Message-ID: Date: Tue, 28 Sep 2021 16:46:15 -0400 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:52.0) Gecko/20100101 PostboxApp/7.0.49 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4HJs3z6HwPz4rLr X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=langille.org header.s=fm2 header.b=Qe8PMYZn; dkim=pass header.d=messagingengine.com header.s=fm3 header.b=LIEG+EQM; dmarc=pass (policy=none) header.from=langille.org; spf=pass (mx1.freebsd.org: domain of dan@langille.org designates 64.147.123.21 as permitted sender) smtp.mailfrom=dan@langille.org X-Spamd-Result: default: False [-4.10 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:64.147.123.21]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; DKIM_TRACE(0.00)[langille.org:+,messagingengine.com:+]; DMARC_POLICY_ALLOW(-0.50)[langille.org,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RCVD_IN_DNSWL_LOW(-0.10)[64.147.123.21:from]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FROM_EQ_ENVFROM(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:11403, ipnet:64.147.123.0/24, country:US]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[langille.org:s=fm2,messagingengine.com:s=fm3]; FREEFALL_USER(0.00)[dan]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; SUBJECT_ENDS_QUESTION(1.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; DWL_DNSWL_LOW(-1.00)[messagingengine.com:dkim]; RWL_MAILSPIKE_POSSIBLE(0.00)[64.147.123.21:from]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Sep 2021 20:46:24 -0000 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