GNU bug report logs -
#37445
27.0.50; Permission denied after make install
Previous Next
Reported by: Tino Calancha <tino.calancha <at> gmail.com>
Date: Wed, 18 Sep 2019 09:03:02 UTC
Severity: normal
Found in version 27.0.50
Done: Paul Eggert <eggert <at> cs.ucla.edu>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
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
This bug report was last modified 5 years and 241 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.