Subject: bug#74400: 31.0.50; tramp-loaddefs.elc suddenly owned by root

From: Eli Zaretskii <[email-masked]>
Date: Sun, 17 Nov 2024 18:34:31 +0200

> Cc: Michael Albinus <[email-masked]>
> Date: Sun, 17 Nov 2024 17:17:37 +0100
> From:  Michael Heerdegen via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <[email-masked]>
> 
> one of my last make + make-install calls in the last couple of days
> again made a file in my home directory being owned by root:
> 
> |  /home/micha/software/emacs/lisp/net:
> |  drwxr-xr-x  2 micha micha 4,0K Nov 16 17:03 .
> |  drwxr-xr-x 28 micha micha  20K Nov 16 17:03 ..
> |  [...]
> |  -rw-rw-r--  1 micha micha 108K Nov 15 17:01 tramp-loaddefs.el
> |  -rw-r--r--  1 root  root  120K Nov 15 17:01 tramp-loaddefs.elc
> 
> Does that ring a bell (Michael maybe)?  Can we maybe prevent this?

Judging by the name of the directory you show, this is not the
installation tree, but a build tree, right?  Then it doesn't
necessarily have anything to do with "make install", but with how you
run "make", I guess?  because tramp-loaddefs.elc is produced by
"make", not by "make install".