From: Robert Pluim <rpluim@gmail.com>
To: Pip Cet <pipcet@protonmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: : : master 7f97cf31dc3: Create blessmail at build time instead of install time
Date: Fri, 23 Aug 2024 18:07:04 +0200 [thread overview]
Message-ID: <877cc7rzo7.fsf@gmail.com> (raw)
In-Reply-To: <87ttfb75oh.fsf@protonmail.com> (Pip Cet's message of "Fri, 23 Aug 2024 13:03:00 +0000")
>>>>> On Fri, 23 Aug 2024 13:03:00 +0000, Pip Cet <pipcet@protonmail.com> said:
Pip> I still don't understand this change, I'm afraid. IIUC, the idea is
Pip> that this message is printed at install time, not at build time:
Pip> Assuming /usr/spool/mail is really the mail spool directory, you should
Pip> run lib-src/blessmail /usr/local/libexec/emacs/31.0.50/x86_64-pc-linux-gnu/movemail
Pip> as root, to give movemail appropriate permissions.
Pip> Do that after running make install.
Pip> It's not clear to me that building lib-src/blessmail at build time is
Pip> always safe: the user building Emacs might well be in a chroot jail or
Pip> restricted so they're unable to access 'rmail-spool-directory'.
Building it at install time isnʼt safe either, since blessmail can end
up owned by 'root'.
Pip> As this is really a post-install dependency, I think we need to find a
Pip> better way of dealing with it. Maybe we can do without "blessmail"
Pip> entirely, and have "blessmail.el" print the full instructions when run,
Pip> rather than putting them into "blessmail"?
That could be done. If we had a 'chown' subr it could even be elisp.
Robert
--
next prev parent reply other threads:[~2024-08-23 16:07 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <172441424046.32730.1198862680597856819@vcs2.savannah.gnu.org>
[not found] ` <20240823115720.C4A92C1FB72@vcs2.savannah.gnu.org>
2024-08-23 12:17 ` master 7f97cf31dc3: Create blessmail at build time instead of install time Pip Cet
2024-08-23 12:35 ` : " Robert Pluim
2024-08-23 13:03 ` Pip Cet
2024-08-23 16:07 ` Robert Pluim [this message]
2024-08-24 13:21 ` : " Pip Cet
2024-08-25 2:50 ` Michael Heerdegen via Emacs development discussions.
2024-08-25 5:10 ` Pip Cet
2024-08-25 5:54 ` Michael Heerdegen
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=877cc7rzo7.fsf@gmail.com \
--to=rpluim@gmail.com \
--cc=emacs-devel@gnu.org \
--cc=pipcet@protonmail.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.