From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27693 invoked by alias); 18 Dec 2012 16:45:06 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 30914 Received: (qmail 18765 invoked from network); 18 Dec 2012 16:44:49 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI, SPF_HELO_PASS autolearn=ham version=3.3.2 Received-SPF: none (ns1.primenet.com.au: domain at samsung.com does not designate permitted sender hosts) X-AuditID: cbfec7f5-b7fd76d000007247-aa-50d09d7d6e05 Date: Tue, 18 Dec 2012 16:44:44 +0000 From: Peter Stephenson To: Zsh Hackers' List Subject: Re: It's time for 5.0.1 Message-id: <20121218164444.63195af6@pwslap01u.europe.root.pri> In-reply-to: References: <20121206194404.698168c9@pws-pc.ntlworld.com> <121208115416.ZM27266@torch.brasslantern.com> <20121216200356.76fd2f4d@pws-pc.ntlworld.com> Organization: Samsung Cambridge Solution Centre X-Mailer: Claws Mail 3.7.9 (GTK+ 2.22.0; i386-redhat-linux-gnu) MIME-version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFuphluLIzCtJLcpLzFFi42I5/e/4Zd3auRcCDO7Nk7Y42PyQyYHRY9XB D0wBjFFcNimpOZllqUX6dglcGeuOb2Mu+MFV8ezqA6YGxpccXYycHBICJhLzW86wQ9hiEhfu rWfrYuTiEBJYyiixqWUKlLOcSeLG/D+sIFUsAqoSU/aeYwSx2QQMJaZumg1kc3CICGhLtH8U AwkLCyhIfHr2HGwor4C9REPLDxYQm1PAUuL6te3MILaQwAlGianvdEBsfgF9iat/PzFBHGEv MfPKGUaIXkGJH5PvgfUyC2hJbN7WxAphy0tsXvOWeQKjwCwkZbOQlM1CUraAkXkVo2hqaXJB cVJ6rpFecWJucWleul5yfu4mRkgIft3BuPSY1SFGAQ5GJR5ew6ILAUKsiWXFlbmHGCU4mJVE eM9NAArxpiRWVqUW5ccXleakFh9iZOLglGpgvLlLwm5NRvyv7T21m8tuXpo0zfvVtCm9u7KF fSwe+r85tL//2WFmU67ZzvcuNE6e93lRxq9akRP/XA7uVRQxfek361Uet8zEM/eTp771VLS7 pBF5I0p+7uHAylefP3w8HXLvzrpQ7+DXzmw79jCd6+JQTZtl6HJATiQvVCqnKZVb0qD4xbdz 9UosxRmJhlrMRcWJAM1EL0YfAgAA On Tue, 18 Dec 2012 08:22:58 -0800 (PST) "S. Cowles" wrote: > Just recently, I have begun running with a umask of 0077. So, when > the install procedure creates new directories, the mode of the new > dirs is 0077. Since I install as root, this creates the obvious > suite of problems when running as a regular user: permission denied > errors for various shared libraries and functions (e.g. vcs_info). To > fix the install, I clean house and build from a zsh-clean environment > with a umask of 0022. I don't see why zsh shouldn't assume a default mode of 755 for installation directories it creates. Index: mkinstalldirs =================================================================== RCS file: /cvsroot/zsh/zsh/mkinstalldirs,v retrieving revision 1.2 diff -p -u -r1.2 mkinstalldirs --- mkinstalldirs 10 Jun 2007 20:46:02 -0000 1.2 +++ mkinstalldirs 18 Dec 2012 16:42:47 -0000 @@ -15,7 +15,8 @@ nl=' ' IFS=" "" $nl" errstatus=0 -dirmode= +# Default directory mode for all zsh files is world read- and executable +dirmode=755 usage="\ Usage: mkinstalldirs [-h] [--help] [--version] [-m MODE] DIR ... -- Peter Stephenson Consultant, Software Tel: +44 (0)1223 434724 Samsung Cambridge Solution Centre St John's House, St John's Innovation Park, Cowley Road, Cambridge, CB4 0ZT, UK