delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/05/30/21:53:04

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: Thu, 30 May 2002 21:58:40 -0400
From: Jason Tishler <jason AT tishler DOT net>
Subject: Re: procmail output file format.
In-reply-to: <3CF689AE.3EBC4A41@mitre.org>
To: Jason House <jhouse AT mitre DOT org>
Cc: cygwin AT cygwin DOT com
Mail-followup-to: Jason House <jhouse AT mitre DOT org>, cygwin AT cygwin DOT com
Message-id: <20020531015839.GA1596@tishler.net>
MIME-version: 1.0
User-Agent: Mutt/1.3.24i
References: <3CF680C0 DOT 563279A1 AT mitre DOT org> <20020530195728 DOT GB1444 AT tishler DOT net>
<3CF689AE DOT 3EBC4A41 AT mitre DOT org>

Jason,

On Thu, May 30, 2002 at 04:21:02PM -0400, Jason House wrote:
> For whatever reason, it doesn't seem to work with -m.  I have
> reluctantly moved my .procmailrc file to /home/Administrator and removed
> the -m from the command line.  This makes does yield the desired
> functionality, but not the right file structure.  The problem boils down
> to how procmail rebuilds the environment before executing.  I've set
> HOME to be one thing, but procmail makes it default to another.  The -m
> was my work around and allowed me to keep all my important files in my
> home directory.  Home is part of "My Documents" and thus requires no
> special consideration for backup (especially when I must, unfortunately,
> rely on corporate computer service for repairs/upgrades).  I'm happy
> enough with this fix, but would much prefer a better solution. 
> Something like having /home/Administrator/.procmailrc simply say "use
> /Docume~1/jhouse/MyDocu~1/UnixHome/.procmailrc" would be better since it
> guarantees that it won't get deleted after it grows in complexity.

One last thought...  Why don't you change your /etc/passwd file so that
the home directory for Administrator is:

    /Docume~1/jhouse/MyDocu~1/UnixHome

instead of the more conventional:

    /home/Administrator

In this way, you don't need to supply the "-m" option or to set HOME
and you get the desired (albeit strange) directory structure.

Jason

--
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