delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/04/01/15:15:12

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Fri, 1 Apr 2005 12:13:16 -0800 (PST)
From: "Peter A. Castro" <doctor AT fruitbat DOT org>
To: Luke Kendall <luke DOT kendall AT cisra DOT canon DOT com DOT au>
cc: cygwin AT cygwin DOT com
Subject: Re: zsh startup oddity
In-Reply-To: <20050401072302.134FE85080@pessard.research.canon.com.au>
Message-ID: <Pine.LNX.4.60.0504011210130.527@gremlin.fruitbat.org>
References: <20050401072302 DOT 134FE85080 AT pessard DOT research DOT canon DOT com DOT au>
MIME-Version: 1.0
X-IsSubscribed: yes

On Fri, 1 Apr 2005, Luke Kendall wrote:

> We found, on a release of Cygwin that's now probably almost a year old,
> that:
>
>    If the /home directory had been created by Cygwin mkdir, and
>    If the /etc/passwd shell specified shell to run was zsh,
>    Then /etc/passwd would not run $HOME/.zprofile
>
> (I.e. after starting a login zsh, you'd have to explicitly source
> ~/.zlogin or whatever).
>
> But /etc/passwd would source $HOME/.zprofile if /home had been created
> by Windows Explorer.

I am unable to reproduce this.  Are you using the zsh.bat file provided
or a custom startup bat file or just running the shell by itself?  Please
make sure you are using the '-l' option to force a login shell.  zsh has
greatly changed in a years time.  Please consider upgrading to a later
release.

> We used getfacl to examine the ACLs of directories created by mkdir and
> directories created by Explorer in detail.
>
> We used both setfacl and Explorer's GUI ACL thing to adjust the ACL
> until they appeared identical (both to getfacl and to the Explorer GUI
> ACL viewing thing), but with no joy: there still seemed to be a
> difference between Cygwin-created directories and Explorer-created ones.
>
> It went into our "to further explore one day" basket.
>
> Perhaps the problem has gone away now.  I just thought I'd mention it
> in case this was interesting information for anyone.
>
> Brian Dessent's comment about setting the ACL for c:/cygwin reminded me
> of it.
>
> luke

-- 
Peter A. Castro <doctor AT fruitbat DOT org> or <Peter DOT Castro AT oracle DOT com>
 	"Cats are just autistic Dogs" -- Dr. Tony Attwood

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019