all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Michael Heerdegen <michael_heerdegen@web.de>
Cc: 74400@debbugs.gnu.org, michael.albinus@gmx.de, stefankangas@gmail.com
Subject: bug#74400: 31.0.50; tramp-loaddefs.elc suddenly owned by root
Date: Sun, 05 Jan 2025 08:55:05 +0200	[thread overview]
Message-ID: <86ikqtagxi.fsf@gnu.org> (raw)
In-Reply-To: <87y0zqtekm.fsf@web.de> (message from Michael Heerdegen on Sat, 04 Jan 2025 23:11:05 +0100)

> From: Michael Heerdegen <michael_heerdegen@web.de>
> Cc: Stefan Kangas <stefankangas@gmail.com>,  74400@debbugs.gnu.org,  Eli
>  Zaretskii <eliz@gnu.org>
> Date: Sat, 04 Jan 2025 23:11:05 +0100
> 
> Michael Albinus <michael.albinus@gmx.de> writes:
> 
> > +If the directories, 'make install' copies the files to, are not writable
> > +with your own permissions, you might prefer calling 'sudo make install'.
> > +Note, that this command checks the completeness of all needed files; if
> 
> Something's weird about your commas (or your comma key).  I would remove
> all but the third (after the word "permissions") - Eli may be able to
> help more.

Is the below better?

  If the directories where 'make install' installs files are not
  writable by your user, you might prefer invoking 'sudo make install'
  instead.  Note that this latter command checks whether all the files
  that are needed for the installation are ready and up-to-date; if
  there are missing or outdated files, they will be regenerated or
  rebuilt, and might then be created as owned by root.  To avoid
  creating files with root ownership, you should always invoke
  'make && sudo make install' instead.

And I have a question: why not suggest to use 'make && sudo make
install' to begin with, instead of showing a dangerous command and
then explaining why not use it?  Like this:

  If the directories where 'make install' installs files are not
  writable by your user, you might prefer invoking 'make && sudo make
  install' instead.  This first invokes 'make' to make sure all the
  required files are rebuilt with your user's permissions and
  ownership, and then installs them using the permissions of root.





  reply	other threads:[~2025-01-05  6:55 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-17 16:17 bug#74400: 31.0.50; tramp-loaddefs.elc suddenly owned by root Michael Heerdegen via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-11-17 16:34 ` Eli Zaretskii
2024-11-17 17:02   ` Michael Heerdegen via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-11-17 17:47     ` Michael Albinus via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-11-17 18:23       ` Michael Heerdegen via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-11-18  1:56         ` Michael Heerdegen via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-11-18  8:37           ` Michael Albinus via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-11-18 12:49             ` Eli Zaretskii
2024-11-19  9:09               ` Michael Albinus via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-11-19 15:54                 ` Eli Zaretskii
2025-01-02 20:13                   ` Stefan Kangas
2025-01-02 21:05                     ` Eli Zaretskii
2025-01-02 21:20                       ` Stefan Kangas
2025-01-03  7:55                         ` Eli Zaretskii
2025-01-02  2:00         ` Stefan Kangas
2025-01-02 15:36           ` Michael Heerdegen via Bug reports for GNU Emacs, the Swiss army knife of text editors
2025-01-02 15:40             ` Stefan Kangas
2025-01-02 15:41             ` Michael Albinus via Bug reports for GNU Emacs, the Swiss army knife of text editors
2025-01-02 17:14               ` Michael Heerdegen via Bug reports for GNU Emacs, the Swiss army knife of text editors
2025-01-02 17:25                 ` Michael Albinus via Bug reports for GNU Emacs, the Swiss army knife of text editors
2025-01-02 17:43                   ` Michael Heerdegen via Bug reports for GNU Emacs, the Swiss army knife of text editors
2025-01-04 17:43                   ` Michael Albinus via Bug reports for GNU Emacs, the Swiss army knife of text editors
2025-01-04 22:11                     ` Michael Heerdegen via Bug reports for GNU Emacs, the Swiss army knife of text editors
2025-01-05  6:55                       ` Eli Zaretskii [this message]
2025-01-05  8:29                         ` Michael Albinus via Bug reports for GNU Emacs, the Swiss army knife of text editors
2025-01-05  8:21                       ` Michael Albinus via Bug reports for GNU Emacs, the Swiss army knife of text editors

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86ikqtagxi.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=74400@debbugs.gnu.org \
    --cc=michael.albinus@gmx.de \
    --cc=michael_heerdegen@web.de \
    --cc=stefankangas@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.