GNU bug report logs -
#74400
31.0.50; tramp-loaddefs.elc suddenly owned by root
Previous Next
Reported by: Michael Heerdegen <michael_heerdegen <at> web.de>
Date: Sun, 17 Nov 2024 16:17:01 UTC
Severity: wishlist
Found in version 31.0.50
Fixed in version 30.1
Done: Michael Albinus <michael.albinus <at> gmx.de>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> From: Michael Heerdegen <michael_heerdegen <at> web.de>
> Cc: Stefan Kangas <stefankangas <at> gmail.com>, 74400 <at> debbugs.gnu.org, Eli
> Zaretskii <eliz <at> gnu.org>
> Date: Sat, 04 Jan 2025 23:11:05 +0100
>
> Michael Albinus <michael.albinus <at> 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.
This bug report was last modified 194 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.