From: Tino Calancha <tino.calancha@gmail.com>
To: Paul Eggert <eggert@cs.ucla.edu>
Cc: 37445@debbugs.gnu.org, Tino Calancha <tino.calancha@gmail.com>
Subject: bug#37445: 27.0.50; Permission denied after make install
Date: Fri, 20 Sep 2019 06:07:54 +0000 (UTC) [thread overview]
Message-ID: <alpine.LNX.2.21.99999.362.1909200557580.3673@ip-10-207-252-54.us-west-2.compute.internal> (raw)
In-Reply-To: <29b48e65-7e65-7d15-7e7e-08b3cefa26fa@cs.ucla.edu>
On Thu, 19 Sep 2019, Paul Eggert wrote:
> On 9/19/19 4:35 AM, Tino Calancha wrote:
>>
>> This code starts Emacs on my Linux machine but it refuses to load my .emacs
>> file:
>
> Hmm, I'm not seeing the problem. As user_foo, what happens if you run this
> shell command?
I have reproduced the problem at 2 Amazon machines with the following
recipe:
[A call to `require' inside .emacs seems to fire the issue]
$ whoami
ec2-user
$ cd ~/soft/emacs-master
$ make && sudo make install
$ ls /home
ec2-user
# Create a fresh new user
$ sudo useradd user_foo
$ ls /home
ec2-user user_foo
# Change to the new user and go to its home dir
$ sudo su user_foo
$ cd
$ pwd
/home/user_foo
$ ls -a
. .. .bash_logout .bash_profile .bashrc .emacs
$ cat .emacs
;; .emacs
(custom-set-variables
;; uncomment to always end a file with a newline
;'(require-final-newline t)
;; uncomment to disable loading of "default.el" at startup
;'(inhibit-default-init t)
;; default to unified diffs
'(diff-switches "-u"))
;;; uncomment for CJK utf-8 support for non-Asian users
;; (require 'un-define)
# Add (require 'ert) at the botton: this seems to fire the issue
$ echo "(require 'ert)" >> .emacs
# Now launch Emacs: you will see at *Warnings* buffer
# File error: Testing file, Permission denied, /home/ec2-user/soft/emacs-master/src
# Now, if you want you can try:
M-: (require 'ert) RET
Testing file: Permission denied, /home/ec2-user/soft/emacs-master/src
next prev parent reply other threads:[~2019-09-20 6:07 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-09-18 9:02 bug#37445: 27.0.50; Permission denied after make install Tino Calancha
2019-09-18 19:12 ` Paul Eggert
2019-09-19 6:57 ` Paul Eggert
2019-09-19 11:35 ` Tino Calancha
2019-09-19 17:41 ` Paul Eggert
2019-09-20 6:07 ` Tino Calancha [this message]
2019-09-20 7:00 ` Eli Zaretskii
2019-09-20 9:10 ` Paul Eggert
2019-09-20 12:40 ` Eli Zaretskii
2019-09-20 18:17 ` Paul Eggert
2019-09-20 18:59 ` Eli Zaretskii
2019-09-20 19:33 ` Paul Eggert
2019-09-21 6:07 ` Eli Zaretskii
2019-09-26 20:11 ` Paul Eggert
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=alpine.LNX.2.21.99999.362.1909200557580.3673@ip-10-207-252-54.us-west-2.compute.internal \
--to=tino.calancha@gmail.com \
--cc=37445@debbugs.gnu.org \
--cc=eggert@cs.ucla.edu \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).