From: Martin <martin@marcher.name>
To: Stefan Monnier <monnier@iro.umontreal.ca>, help-gnu-emacs@gnu.org
Subject: Re: sudo make install
Date: Wed, 15 Apr 2015 10:15:46 +0000 [thread overview]
Message-ID: <CAK1mKETY9wNe3dtRwM0XMzE-dGvDm6h6qxbcgimebvrs06UkrQ@mail.gmail.com> (raw)
In-Reply-To: <jwvr3rmnqxb.fsf-monnier+gmane.emacs.help@gnu.org>
This might be controversial :)
I've never been a fan of requiring root (uid 0) rights to install software
in site-specific plases -- or install any software for that matter, but
that topic is for a different mailing list. :)
So this is what I've been doing for quite some time:
* Use some "swadm" (Software Administration) group that has R/W access to
the relevant directories (presumably /usr/local in your case)
** Maybe even extend that to "swadm-emacs" (or any other package)
I only have to deal with the major distributions so /usr/local is enough
for me. With the *BSD stuff you might want to choose a different site
prefix, AFAIR ports/packages installs in /usr/local.
Make yourself a member of that group and be done with it.
In my specific case:
I do like to build _and_ install with the same account. Yes that may be
risky in case a build or install step goes south but practically I found
that to be the easiest choice.
regards,
Martin
On Wed, Apr 15, 2015 at 3:10 AM Stefan Monnier <monnier@iro.umontreal.ca>
wrote:
> > My question: when I want to "make install", I need to use "sudo". But
> > after that operation, the emacs/ source dir now contains files owned by
> > root.
>
> A "make install" right after "make" should not create/touch local files
> (exactly for the reason you show). So if you do get some root-owned
> files even though you did a (non-root) "make" right before the "make
> install", I recommend you M-x report-emacs-bug.
>
>
> Stefan
>
>
>
next prev parent reply other threads:[~2015-04-15 10:15 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-14 19:46 sudo make install Michael Heerdegen
2015-04-14 19:56 ` Milan Stanojević
2015-04-14 20:06 ` Ludwig, Mark
2015-04-14 20:16 ` Michael Heerdegen
2015-04-14 20:15 ` Michael Heerdegen
2015-04-14 20:25 ` Milan Stanojević
2015-04-15 1:05 ` Stefan Monnier
2015-04-15 10:15 ` Martin [this message]
2015-04-15 10:25 ` Michael Heerdegen
2015-04-15 10:55 ` tomas
2015-04-15 12:41 ` Stefan Monnier
2015-04-15 21:26 ` Bob Proulx
2015-04-16 11:01 ` Michael Heerdegen
2015-04-16 21:04 ` Bob Proulx
2015-04-17 15:07 ` Michael Heerdegen
2015-04-18 19:32 ` Bob Proulx
2015-04-19 13:33 ` Michael Heerdegen
2015-04-20 0:31 ` Bob Proulx
2015-04-20 14:57 ` Michael Heerdegen
2015-04-20 17:31 ` Bob Proulx
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=CAK1mKETY9wNe3dtRwM0XMzE-dGvDm6h6qxbcgimebvrs06UkrQ@mail.gmail.com \
--to=martin@marcher.name \
--cc=help-gnu-emacs@gnu.org \
--cc=monnier@iro.umontreal.ca \
/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.