zsh-workers
 help / color / mirror / code / Atom feed
From: Peter Stephenson <pws@ibmth.df.unipi.it>
To: zsh-workers@sunsite.auc.dk
Subject: Re: Make question/request.
Date: Mon, 30 Aug 1999 17:08:25 +0200	[thread overview]
Message-ID: <9908301508.AA19409@ibmth.df.unipi.it> (raw)
In-Reply-To: "Jason Price"'s message of "26 Aug 1999 14:27:24 DFT." <kgo906ypfci.fsf@oobleck.gatech.edu>

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


      reply	other threads:[~1999-08-30 15:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-08-26 18:27 Jason Price
1999-08-30 15:08 ` Peter Stephenson [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9908301508.AA19409@ibmth.df.unipi.it \
    --to=pws@ibmth.df.unipi.it \
    --cc=zsh-workers@sunsite.auc.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).