zsh-workers
 help / color / mirror / code / Atom feed
* Make question/request.
@ 1999-08-26 18:27 Jason Price
  1999-08-30 15:08 ` Peter Stephenson
  0 siblings, 1 reply; 2+ messages in thread
From: Jason Price @ 1999-08-26 18:27 UTC (permalink / raw)
  To: zsh-workers

I'm putting zsh-3.1.6 on a bunch of machines.  I've noticed a couple of
things about the make install of it that might be useful to change.

First is to manually override the umask for directories, the same way you
do for files.  files, despite a umask of 0077, come out 644.  But new
directories come out 700.  

Second is to manually set the mode of:

$BINDIR/share/zsh/functions/compinit

to 755, so that errors won't happen after people run compinstall.  

Of course, my understanding of such things might be flawed, but that's what 
I've had to do to get it working.

Jason

-- 
Faith is not a matter of questions.      Jason Price
Faith is a matter of answers.            jprice@gatech.edu
More to the point, one answer:           Theta Xi, Beta Alpha, 449
"Yes, Lord."


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Make question/request.
  1999-08-26 18:27 Make question/request Jason Price
@ 1999-08-30 15:08 ` Peter Stephenson
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Stephenson @ 1999-08-30 15:08 UTC (permalink / raw)
  To: zsh-workers

Jason Price wrote:
> I'm putting zsh-3.1.6 on a bunch of machines.  I've noticed a couple of
> things about the make install of it that might be useful to change.
> 
> First is to manually override the umask for directories, the same way you
> do for files.  files, despite a umask of 0077, come out 644.  But new
> directories come out 700.  

Putting this in mkinstalldirs should be the right thing to do, since all
installed directories are supposed to be world readable (and if they
weren't, that would need special handling anyway).

> Second is to manually set the mode of:
> 
> $BINDIR/share/zsh/functions/compinit
> 
> to 755, so that errors won't happen after people run compinstall.  
> 
> Of course, my understanding of such things might be flawed, but that's what 
> I've had to do to get it working.

compinit is a function, it should be readable but not executable; executing
it as a command won't work.  If properly installed, the directory should be
in $fpath, and if not, compinstall should put it there; it should also make
compinit autoloaded.  What is actually going wrong?

P.S. please cc me with any replies as I'm not on the list :-).  More
seriously, the incoming mail here is screwed up, so mail to pws@ifh.de
might get answered more quickly (i.e. at all).

--- mkinstalldirs~	Wed Mar 25 00:08:40 1998
+++ mkinstalldirs	Mon Aug 30 17:05:29 1999
@@ -21,6 +21,7 @@
      if test ! -d "$pathcomp"; then
         echo "mkdir $pathcomp" 1>&2
         mkdir "$pathcomp" || errstatus=$?
+        chmod 0755 "$pathcomp"
      fi
 
      pathcomp="$pathcomp/"

-- 
Peter Stephenson <pws@ibmth.df.unipi.it>       Tel: +39 050 844536
WWW:  http://www.ifh.de/~pws/
Dipartimento di Fisica, Via Buonarroti 2, 56127 Pisa, Italy


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1999-08-30 15:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-08-26 18:27 Make question/request Jason Price
1999-08-30 15:08 ` Peter Stephenson

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).