From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Tino Calancha Newsgroups: gmane.emacs.bugs Subject: bug#37445: 27.0.50; Permission denied after make install Date: Fri, 20 Sep 2019 06:07:54 +0000 (UTC) Message-ID: References: <29b48e65-7e65-7d15-7e7e-08b3cefa26fa@cs.ucla.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="173219"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Alpine 2.21.99999 (LNX 362 2019-08-01) Cc: 37445@debbugs.gnu.org, Tino Calancha To: Paul Eggert Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Sep 20 08:09:15 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iBC6U-000ivq-Tk for geb-bug-gnu-emacs@m.gmane.org; Fri, 20 Sep 2019 08:09:15 +0200 Original-Received: from localhost ([::1]:51682 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iBC6S-00083r-VI for geb-bug-gnu-emacs@m.gmane.org; Fri, 20 Sep 2019 02:09:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43939) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iBC6J-00083J-5b for bug-gnu-emacs@gnu.org; Fri, 20 Sep 2019 02:09:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iBC6I-00072N-2Y for bug-gnu-emacs@gnu.org; Fri, 20 Sep 2019 02:09:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:47823) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iBC6H-00072F-TF for bug-gnu-emacs@gnu.org; Fri, 20 Sep 2019 02:09:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iBC6H-0006Ez-LW for bug-gnu-emacs@gnu.org; Fri, 20 Sep 2019 02:09:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Tino Calancha Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 20 Sep 2019 06:09:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 37445 X-GNU-PR-Package: emacs Original-Received: via spool by 37445-submit@debbugs.gnu.org id=B37445.156895968723927 (code B ref 37445); Fri, 20 Sep 2019 06:09:01 +0000 Original-Received: (at 37445) by debbugs.gnu.org; 20 Sep 2019 06:08:07 +0000 Original-Received: from localhost ([127.0.0.1]:56644 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iBC5P-0006Dr-G3 for submit@debbugs.gnu.org; Fri, 20 Sep 2019 02:08:07 -0400 Original-Received: from mail-pg1-f173.google.com ([209.85.215.173]:38345) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iBC5N-0006Cv-VG for 37445@debbugs.gnu.org; Fri, 20 Sep 2019 02:08:06 -0400 Original-Received: by mail-pg1-f173.google.com with SMTP id x10so3212630pgi.5 for <37445@debbugs.gnu.org>; Thu, 19 Sep 2019 23:08:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:date:to:cc:subject:in-reply-to:message-id:references :user-agent:mime-version; bh=aSW5VqpWoBGDAcBuC+vRCjfqurWkFvGHvxkBHLTFx98=; b=iH9u8sgj53cOg6PrWy8Bte5+PdObqwBdhQDoE3nAL1drjmTGQ3J2I64N4LIA7qASdl VJQEwq8ZzIU6rOvyVIWkhnvJn772Sul994lyJmPhvFoac1CZiswrhNrJerHqIOGEOStl V9wQuzPSalRdHxqZ6rWyQUZ+CKIB+7lT4G13t0grBq5ha/ojzXrmGjkG3S7HjVZNNFrq Bn9LEnl/f5lcn9G5Q3M8EhsyejlOqJ1h/PT2zgScZeG0RVT9Ll/2nU/hdlqyyO4RyDjd QKSc5DWvf2ttF/oDhx8Nn6pe37X4gXY90k6DY4hRN8yWAfvFpKhyJOS4CC8NkmXPJc65 BtRg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:to:cc:subject:in-reply-to:message-id :references:user-agent:mime-version; bh=aSW5VqpWoBGDAcBuC+vRCjfqurWkFvGHvxkBHLTFx98=; b=o7ScaJ8MbxNQEw3dwLo5zPTUCWiOz2ZLmHO/RGlwRfVuMq+pYNGB45SlzTHlnBNyhA 5XnYFpvsMIOit6Mkz2EP3uooqD9re9ICXcWvgOqRhfV1+ITdTiJuvyue5xQqbcoU8ib8 ski9O2M2lJitfJUxQxw/x+cJWALaN2mExkl2GowL5oyso+j0pqLWD5McenYU/cbL79ep oThzaihYCfpWGLK4XS3+PuVeCht5v3Wp8UU/r+eRfL0xhb1RpqpUQAHdP7gy6a6EVvV0 4XBaLCAZU2PnJP+SH48Zm8jMV/poHHzFADq8q2CwcbQ0mqwOU13PsGh/UzZHQVcSYtoi bDCg== X-Gm-Message-State: APjAAAUDm2yExU0SPeRREuPlXkHTIl406U9/2jnD6nRYuRyHJGsLEdju E8B5zfmf7D7HuHPtY7QmNy8= X-Google-Smtp-Source: APXvYqy2QKNlhN3duB/Npj0M3Soymz+b0blKHGVdVfbqe97jIaxldQL2Wt3U6Umjsyj0qUVvDN761Q== X-Received: by 2002:a17:90a:178d:: with SMTP id q13mr2669023pja.134.1568959680014; Thu, 19 Sep 2019 23:08:00 -0700 (PDT) Original-Received: from ip-10-207-252-54.us-west-2.compute.internal (ec2-34-217-11-128.us-west-2.compute.amazonaws.com. [34.217.11.128]) by smtp.gmail.com with ESMTPSA id 127sm1241528pfc.115.2019.09.19.23.07.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 19 Sep 2019 23:07:59 -0700 (PDT) X-Google-Original-From: Tino Calancha X-X-Sender: ec2-user@ip-10-207-252-54.us-west-2.compute.internal In-Reply-To: <29b48e65-7e65-7d15-7e7e-08b3cefa26fa@cs.ucla.edu> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:166743 Archived-At: 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