From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ian Grant Newsgroups: gmane.lisp.guile.devel Subject: Running make as root and ./configure access to Makefile contents Date: Thu, 18 Sep 2014 14:48:45 -0400 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7b86c92e25726c05035b6fdd X-Trace: ger.gmane.org 1411066149 15469 80.91.229.3 (18 Sep 2014 18:49:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 18 Sep 2014 18:49:09 +0000 (UTC) To: Neil Jerram , guile-devel Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Thu Sep 18 20:49:05 2014 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XUglI-0000wz-LW for guile-devel@m.gmane.org; Thu, 18 Sep 2014 20:49:00 +0200 Original-Received: from localhost ([::1]:52866 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XUglI-0001bf-Af for guile-devel@m.gmane.org; Thu, 18 Sep 2014 14:49:00 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40534) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XUglA-0001YC-Ix for guile-devel@gnu.org; Thu, 18 Sep 2014 14:48:53 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XUgl9-0005et-Hq for guile-devel@gnu.org; Thu, 18 Sep 2014 14:48:52 -0400 Original-Received: from mail-we0-x22e.google.com ([2a00:1450:400c:c03::22e]:51397) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XUgl9-0005dU-53 for guile-devel@gnu.org; Thu, 18 Sep 2014 14:48:51 -0400 Original-Received: by mail-we0-f174.google.com with SMTP id x48so1388725wes.19 for ; Thu, 18 Sep 2014 11:48:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=LCh/BawF05zFDEnny5UQMMqQvGbIoN867EBIjeiqk/A=; b=Lurb0yb/TQcEuasjAc93Mn6vYWtURHqjI6zSkkxftXdubSiNISOP3Ua7h4yNm1jgSp xGDUcj3jEvL+dOxwUXzU1LC2+3jmN69rn3n5GBwAJGZxpluhGgeDzSxV+5IZHu+67HmJ EauscHv5Ma7wKoblqO83Zjq/1XR4Xkc45xtd8OHd8fnn22riMxrAfuQY0QKwlCzAfvCp svVP+Mslnfoz19zpSWmqNGlrazHsN612d0yRdEpd2/Seo0Pb9QsI2Dim/IXUE6lsb2nh xvDGXlZndAyp0AVuyB5sY4GYEWDNvtMeUTdttoyJul/Nh/su4brrWGQ4jA9V0oNjbGTV xLPw== X-Received: by 10.194.57.237 with SMTP id l13mr7115894wjq.102.1411066125183; Thu, 18 Sep 2014 11:48:45 -0700 (PDT) Original-Received: by 10.194.81.194 with HTTP; Thu, 18 Sep 2014 11:48:45 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c03::22e X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:17485 Archived-At: --047d7b86c92e25726c05035b6fdd Content-Type: text/plain; charset=UTF-8 This is about the 66,00 lines of code that are in the confige script and are not routinely audited and are typically run as root. In http://lists.gnu.org/archive/html/guile-devel/2014-09/msg00098.html Neil Jerram proclaims: > People are absolutely NOT encouraged to run ./configure and > make as root. In around 20 years of Guile development, I don't > recall ever doing or encouraging that. ian3@jaguar:~/build/guile-2.0.11$ ls -ld /usr/local drwxr-xr-x 19 ian ian 4096 2014-08-11 23:39 /usr/local What is the default setting of --prefix? It doesn't matter that ./configure is not run as root, that script writes the makefiles that are run as root to install the package. This is GNU policy, but that doesn't in itself mean it isn't as really, really stupid thing to do. Ian --047d7b86c92e25726c05035b6fdd Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
This is about the 66,00 lines of code that are in the= confige script and are not routinely audited and are typically run as root= .

In http://lists.gnu.org/archive/html/guile-devel/2014-0= 9/msg00098.html
Neil Jerram proclaims:

> People are ab= solutely NOT encouraged to run ./configure and
> make as=20
root. In around 20 years of Guile development, I don't
>= ; recall ever=20
doing or encouraging that.

ian3@jaguar:~/build/g= uile-2.0.11$ ls -ld /usr/local
drwxr-xr-x 19 ian ian 4096 2014-08-11 23:= 39 /usr/local

What is the default setting of --prefix?
It doesn't matter that ./configure is not run as root, = that script writes the makefiles that are run as root to install the packag= e.

This is GNU policy, but that doesn't in itself mea= n it isn't as really, really stupid thing to do.

Ian

--047d7b86c92e25726c05035b6fdd--