From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.devel Subject: Re: umask and permissions of installed files Date: Thu, 03 Sep 2009 09:44:11 +0200 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1251964020 18133 80.91.229.12 (3 Sep 2009 07:47:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 3 Sep 2009 07:47:00 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Sep 03 09:46:53 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Mj71v-0007uv-Nx for ged-emacs-devel@m.gmane.org; Thu, 03 Sep 2009 09:46:52 +0200 Original-Received: from localhost ([127.0.0.1]:53596 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mj71u-0002lf-QI for ged-emacs-devel@m.gmane.org; Thu, 03 Sep 2009 03:46:50 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mj6zo-0001dC-TB for emacs-devel@gnu.org; Thu, 03 Sep 2009 03:44:40 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mj6zj-0001aH-Hx for emacs-devel@gnu.org; Thu, 03 Sep 2009 03:44:39 -0400 Original-Received: from [199.232.76.173] (port=52725 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mj6zj-0001aD-C1 for emacs-devel@gnu.org; Thu, 03 Sep 2009 03:44:35 -0400 Original-Received: from mx20.gnu.org ([199.232.41.8]:15969) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Mj6zd-0006fP-V9; Thu, 03 Sep 2009 03:44:30 -0400 Original-Received: from mx1.redhat.com ([209.132.183.28]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Mj6zc-0007eV-RH; Thu, 03 Sep 2009 03:44:29 -0400 Original-Received: from int-mx05.intmail.prod.int.phx2.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.18]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n837iEav024477; Thu, 3 Sep 2009 03:44:14 -0400 Original-Received: from hase.home (vpn-10-8.str.redhat.com [10.32.10.8]) by int-mx05.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id n837iCkC000823; Thu, 3 Sep 2009 03:44:12 -0400 X-Yow: Do I have a lifestyle yet? In-Reply-To: (Stefan Monnier's message of "Wed, 02 Sep 2009 22:42:34 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) X-Scanned-By: MIMEDefang 2.67 on 10.5.11.18 X-Detected-Operating-System: by mx20.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:114999 Archived-At: Stefan Monnier writes: >> In connection with addressing bug#3800 I would like to ask: what is >> the right thing to do wrt the installing user's umask when installing? > >> The two reasonable options would seem to be > >> i) ignore it, and make the install world-readable, with the exception >> that pre-existing "common" directories should not have their >> permissions altered, as requested in bug#3800. Ideally, the install >> whould warn about any non-standard permissions. > >> ii) respect it, and don't mess with the permissions of the install at all > >> Option i) seems like the right thing to me. > >> At the moment, there is an inconsistent mish-mash of i) and ii). > > What's the "standard procedure"? The "standard procedure" is to use install which ignores umask. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."