From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#74400: 31.0.50; tramp-loaddefs.elc suddenly owned by root Date: Thu, 02 Jan 2025 23:05:03 +0200 Message-ID: <86ed1lhqps.fsf@gnu.org> References: <871pz9q1ge.fsf@web.de> <86wmh1vmy0.fsf@gnu.org> <87wmh1oksp.fsf@web.de> <875xol92h1.fsf@gmx.de> <87serpoh2g.fsf@web.de> <87plmtpamy.fsf@web.de> <87y11h6iow.fsf@gmx.de> <86ed38vh9k.fsf@gnu.org> <877c8z8u9r.fsf@gmx.de> <86ldxfte12.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20333"; mail-complaints-to="usenet@ciao.gmane.io" Cc: michael_heerdegen@web.de, 74400@debbugs.gnu.org, michael.albinus@gmx.de To: Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jan 02 22:06:19 2025 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 1tTSOY-00058f-KH for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 02 Jan 2025 22:06:18 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tTSOL-0000XI-8M; Thu, 02 Jan 2025 16:06:05 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tTSOJ-0000Wt-CR for bug-gnu-emacs@gnu.org; Thu, 02 Jan 2025 16:06:03 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tTSOI-0000DN-HS for bug-gnu-emacs@gnu.org; Thu, 02 Jan 2025 16:06:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=References:In-Reply-To:From:Date:To:Subject; bh=03kN5mfwc6CBa66OqAERns+JFFJrSUDBaXrnzyzSGiU=; b=PhIWApq3Gbb9DZebBJ5eyXEsbdgim9oa/zYpae5XN5qtBXRpTu+JmzFUM4OuCqZX0aCEDTn4uphakBVEj7yHwYJlqe+WDt7QPPObWn9A+tf/8ZCgVpmerwStGlU+tRUc3gJ01dW1Cx5sdTkXDuevPFVDz/G2Om3F54HbR6zja00KhiGlzuCDXEBPn/VGM3JICFJQXI39sE7GX1732oXVOeSslEc9oTwyLQeRY8SMsy4dY+iO4xf69sZ4fbLDqmL794uSHEGJobhtUMd8YC2OzW3yYLNMROo0Vt3I5v2wN6KYLY2lBVypa0QSCuXqdtGr5AjU9Iyfm8FY1FwnPlXzxg==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tTSOI-0000VQ-Bh for bug-gnu-emacs@gnu.org; Thu, 02 Jan 2025 16:06:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 02 Jan 2025 21:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74400 X-GNU-PR-Package: emacs Original-Received: via spool by 74400-submit@debbugs.gnu.org id=B74400.17358519171753 (code B ref 74400); Thu, 02 Jan 2025 21:06:02 +0000 Original-Received: (at 74400) by debbugs.gnu.org; 2 Jan 2025 21:05:17 +0000 Original-Received: from localhost ([127.0.0.1]:46947 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tTSNY-0000Ro-Vg for submit@debbugs.gnu.org; Thu, 02 Jan 2025 16:05:17 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39084) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tTSNW-0000Mv-E0 for 74400@debbugs.gnu.org; Thu, 02 Jan 2025 16:05:15 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tTSNQ-0000AU-Ow; Thu, 02 Jan 2025 16:05:08 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=03kN5mfwc6CBa66OqAERns+JFFJrSUDBaXrnzyzSGiU=; b=bJf2AtOtESHE xAtqN/8xPwTptIRjn5vc+2SdCfroEEGtQYDMCJt9dMd9V6o2/1RtwYuY1WP4LmsyMDuTVbBVxDzbR Xn6AlQhQZYludcPE5l42EGwIbfj4iEVBWBj/kibcX+I9KWUhZUgBaXuQJJo8zPY/G68tQr4rz4Wmn CE7zYp87vWGfOTIXv8cs/bLq9gmKXNbsLRGTfM0FmxUJ5DizePAH5F1Z1u9yY4DV4KiBzgcvUaVHl 6FdYqgf9OCyF9jAxGofm2ybTw3sSh1xyY/qZ854HXTIaA7lvZqCYULUJrGleXbsbXHckNfiHYWPxB rBfWG0Wpc1cjOSFBdPyGDw==; In-Reply-To: (message from Stefan Kangas on Thu, 2 Jan 2025 14:13:31 -0600) 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:298240 Archived-At: > From: Stefan Kangas > Date: Thu, 2 Jan 2025 14:13:31 -0600 > Cc: michael_heerdegen@web.de, 74400@debbugs.gnu.org > > Eli Zaretskii writes: > > >> From: Michael Albinus > >> Cc: michael_heerdegen@web.de, 74400-done@debbugs.gnu.org > >> Date: Tue, 19 Nov 2024 10:09:20 +0100 > >> > >> My example doesn't claim to be the recipe which happened to Michael. But > >> it shows, that 'sudo make install' could create root-owned files in the > >> build dir, and that's what this bug report is about. > >> > >> I don't know whether it is important enough to change something. But we > >> should know (and document), that it could happen. > > > > If it's important enough, maybe. > > > > I think "make install" uses chmod to give everyone access to the file > > because some files could be owned by root. If that works, why is the > > ownership important? > > Does everyone get write rights, though? If not, how can you run > commands like "git clean -fxd" as a regular root after "make install"? Sorry, I don't follow: "make install" writes to the installation directory, and invokes chmod on the files installed there, whereas "git clean -fxd" is run on the Git repository, which is a different directory entirely. What am I missing?