From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs Subject: bug#53534: 28.0.91; on netbsd 'gmake install' outputs 'find: chown: No such file or directory' Date: Wed, 26 Jan 2022 12:51:51 -0500 Message-ID: <27bkzye66g.fsf@fencepost.gnu.org> References: <83zgnjgoig.fsf@gnu.org> <5wr18vdsw3.fsf@fencepost.gnu.org> <83r18uhde4.fsf@gnu.org> <34ea3c43-b527-eae2-9f21-404317ed6f3@SDF.ORG> <83y232fs0y.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38624"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) Cc: Van Ly , 53534@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jan 26 19:08:59 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nCmj4-0009v2-Q2 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 26 Jan 2022 19:08:58 +0100 Original-Received: from localhost ([::1]:33826 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nCmj3-0001W3-Ja for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 26 Jan 2022 13:08:57 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:49988) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nCmTv-0002KR-84 for bug-gnu-emacs@gnu.org; Wed, 26 Jan 2022 12:53:19 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:60524) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nCmTe-0007z7-Br for bug-gnu-emacs@gnu.org; Wed, 26 Jan 2022 12:53:12 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nCmTe-00034T-7G for bug-gnu-emacs@gnu.org; Wed, 26 Jan 2022 12:53:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Glenn Morris Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 26 Jan 2022 17:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53534 X-GNU-PR-Package: emacs Original-Received: via spool by 53534-submit@debbugs.gnu.org id=B53534.164321952411732 (code B ref 53534); Wed, 26 Jan 2022 17:53:02 +0000 Original-Received: (at 53534) by debbugs.gnu.org; 26 Jan 2022 17:52:04 +0000 Original-Received: from localhost ([127.0.0.1]:53427 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nCmSi-000339-Mv for submit@debbugs.gnu.org; Wed, 26 Jan 2022 12:52:04 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:48948) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nCmSg-00032g-QQ for 53534@debbugs.gnu.org; Wed, 26 Jan 2022 12:52:03 -0500 Original-Received: from [2001:470:142:3::e] (port=38108 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nCmSX-0007rx-Qc; Wed, 26 Jan 2022 12:51:54 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=FHnFj6r7xCrPE9qXIv9Xtw/fwi7PXv7V9DkFp+czZa0=; b=nZMqQocsDkDbc+z4Lzps nfS0Wjn1H0p1pNjIApe0E0+plAjZkphAjg7xHOxW/hWaY8y+q+hwUp4c38DbAQYUrvFUgFqxiQH0l 44dPJTaMZiEP6qYdPn2yzhCAe2jWZMnM+eSkWzM3ImAMhxtMOfKekA35ub/lG4KEeBMCZZaYBGxh6 /dGgPe8BEFFe1B8oT0SQrEKg6eigHqEGBAKmQFm3W7O9X8ONpx9MrDaDnwh8k4Fx86FsZZILZ+nm9 CsNT/sNchiBZ//U0M6maUGAAwGaInQ3ZsBN+JVCzmLBMjtvEVi2uhX4NBzOfUid10n3uO88XP06Sz 7iO5izjf4HoOog==; Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1nCmSV-0005Ix-JI; Wed, 26 Jan 2022 12:51:51 -0500 X-Spook: Snow eavesdropping U.S. Citizenship and Immigration X-Ran: kPWb(KQ;.K0qFAx8\MHCb=1^{'LdL9}Fu=Wrg[$2(keAp:E""K1I3e7W>'FLP:j^=vD\Ur X-Hue: brightmagenta X-Attribution: GM In-Reply-To: <83y232fs0y.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 26 Jan 2022 17:14:37 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:225302 Archived-At: Eli Zaretskii wrote: > That won't help, because AFAIU when you use sudo, it changes your PATH > accordingly. It might, or it might not. It depends on how sudo is configured. Alternative suggestions for fixing the various issues that exist here: 1) Don't use tar. 2) Use tar --no-same-owner (if tar doesn't have this option, then it won't have the issue that chown seeks to fix). 3) Only run chown if UID = 0, and use chown root:root rather than the current installuser logic, which seems broken (I notice now that most of my emacs installations in /usr/local/share are owned by my user account instead of root).