delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/10/23/06:47:27

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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: Wed, 23 Oct 2002 12:47:14 +0200 (MEST)
From: Bjoern Kahl AG Resy <kahl AT informatik DOT uni-kl DOT de>
To: Thomas Baker <thomas DOT baker AT bi DOT fhg DOT de>
cc: cygwin AT cygwin DOT com
Subject: Re: Cygwin/Procmail stops working after setup.exe upgrade
In-Reply-To: <20021023095343.GA568@LEPIDUS>
Message-ID: <Pine.GSO.4.44.0210231241380.2050-100000@domino.informatik.uni-kl.de>
MIME-Version: 1.0

Hallo !

On Wed, 23 Oct 2002, Thomas Baker wrote:
> On Wed, Oct 23, 2002 at 11:47:27AM +0200, Bjoern Kahl AG Resy wrote:
> > > > On Wed, Oct 23, 2002 at 11:15:34AM +0200, Thomas Baker wrote:
> > > > > ..even though "echo $HOME" in a Bash window confirms that
> > > > > $HOME is "/cygdrive/e".
> > > >
> > > > AFAIK cygwin takes the home directory from /etc/passwd.
> > >
> > > Oho, indeed it does, and "/home/tbaker" doesn't (yet) exist!
> > >
> > > Any reason I shouldn't just "vi /etc/passwd" to reset HOME to
> > > "/cygdrive/e"?


> >  I think its better to use mount the map /home/tbaker to the
> >  place your files life.
> >
> >  If you have multiple accouts. its even better to map /home to a
> >  place, where all user have a directory with there username.

> Looks like it might be easier just to spell out "/cygdrive/e"
> in my .procmailrc instead of using the $HOME variable
> there...??

 For this sepical case, yes that is the quick solution.

 But there may exist other programs that wil get upset
 with a non-existing/wrong "home" entry in /etc/passwd.

 So, sooner or later, you better fix the root-problem,
 (making $HOME and "home"-entry in passwd work) than
 patching a lot of other scripts or tools.


 Have fun!

   Bjoern Kahl

-- 
+---------------------------------------------------------------------+
| Dipl.-Phys. Bjoern Kahl +++ AG Embedded Systems and Robotics (RESY) |
| Informatics Faculty +++ Building 48 +++ University of Kaiserslautern|
| phone: +49-631-205-2654 +++ www: http://resy.informatik.uni-kl.de   |
+---------------------------------------------------------------------+


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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