From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#37445: 27.0.50; Permission denied after make install Date: Fri, 20 Sep 2019 21:59:12 +0300 Message-ID: <83blvessjj.fsf@gnu.org> References: <29b48e65-7e65-7d15-7e7e-08b3cefa26fa@cs.ucla.edu> <83woe3rvhg.fsf@gnu.org> <43882d66-5955-add5-48b5-ea46333832ef@cs.ucla.edu> Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="213208"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 37445@debbugs.gnu.org, tino.calancha@gmail.com To: Paul Eggert Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Sep 20 21:00:27 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 1iBO8p-000tMC-Ja for geb-bug-gnu-emacs@m.gmane.org; Fri, 20 Sep 2019 21:00:27 +0200 Original-Received: from localhost ([::1]:34784 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iBO8n-0006Ej-Kl for geb-bug-gnu-emacs@m.gmane.org; Fri, 20 Sep 2019 15:00:25 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55701) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iBO8U-0006CK-Le for bug-gnu-emacs@gnu.org; Fri, 20 Sep 2019 15:00:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iBO8R-0002Yo-EC for bug-gnu-emacs@gnu.org; Fri, 20 Sep 2019 15:00:05 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49694) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iBO8Q-0002W2-4m for bug-gnu-emacs@gnu.org; Fri, 20 Sep 2019 15:00:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iBO8P-0005HS-W6 for bug-gnu-emacs@gnu.org; Fri, 20 Sep 2019 15:00:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 20 Sep 2019 19:00: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.156900595720209 (code B ref 37445); Fri, 20 Sep 2019 19:00:01 +0000 Original-Received: (at 37445) by debbugs.gnu.org; 20 Sep 2019 18:59:17 +0000 Original-Received: from localhost ([127.0.0.1]:58515 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iBO7g-0005Ft-P0 for submit@debbugs.gnu.org; Fri, 20 Sep 2019 14:59:17 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:47134) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iBO7e-0005Fd-Kd for 37445@debbugs.gnu.org; Fri, 20 Sep 2019 14:59:15 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:56935) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iBO7Y-00025P-Pc; Fri, 20 Sep 2019 14:59:08 -0400 Original-Received: from [176.228.60.248] (port=3044 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1iBO7X-0006zJ-P2; Fri, 20 Sep 2019 14:59:08 -0400 In-reply-to: <43882d66-5955-add5-48b5-ea46333832ef@cs.ucla.edu> (message from Paul Eggert on Fri, 20 Sep 2019 11:17:43 -0700) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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:166787 Archived-At: > Cc: tino.calancha@gmail.com, 37445@debbugs.gnu.org > From: Paul Eggert > Date: Fri, 20 Sep 2019 11:17:43 -0700 > > I looked through the Emacs source code, and the only use of source-directory > that seemed relevant was find-function-C-source-directory; is that what you were > referring to? Yes. Help uses that when you activate the button in a *Help* buffer that says a function is defined in C sources. > If so, the problem can be addressed by installing the C sources > into /usr/share/emacs/27.0.50/src/*.[chm], which is something we should be doing > anyway since the build directory might be missing or (worse) wrong when someone > wants to look at the sources of the installed Emacs. In the old days installing > the C sources might have been thought too heavyweight but those days are long gone. You are talking about a serious change in Emacs installation procedure. It should first be discussed and its various implications understood and considered. I'm not so sure this is a good approach, or that it should be the only one supported. Some people may not want to install sources; others still build their own Emacs, and have the sources available in accessible directories, so installing the sources into yet another tree will be uneconomical for them. And there might be other use cases and other considerations. If we want to make such changes, we should do that in a way that caters to all the use cases we support today. I asked what security problems could be caused by accessing a source tree, and you didn't answer. From where I stand, that is a crucial question: if the danger is not real, or non-existent, I see no good reason to make such significant changes, certainly not soon.