Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: It's time for 5.0.1
On Tue, 18 Dec 2012 08:22:58 -0800 (PST)
"S. Cowles" <scowles@xxxxxxxx> 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 <p.stephenson@xxxxxxxxxxx> 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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author