delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/10/23/04:57:46

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 10:56:48 +0200
From: Thomas Baker <thomas DOT baker AT bi DOT fhg DOT de>
To: cygwin AT cygwin DOT com
Subject: Re: Cygwin/Procmail stops working after setup.exe upgrade
Message-ID: <20021023085648.GA1732@LEPIDUS>
Mail-Followup-To: Thomas Baker <thomas DOT baker AT bi DOT fhg DOT de>, cygwin AT cygwin DOT com
References: <20021022114820 DOT GA2348 AT LEPIDUS> <20021022121452 DOT GB992 AT tishler DOT net>
Mime-Version: 1.0
In-Reply-To: <20021022121452.GB992@tishler.net>
User-Agent: Mutt/1.4i

On Tue, Oct 22, 2002 at 08:14:52AM -0400, Jason Tishler wrote:
> On Tue, Oct 22, 2002 at 01:48:20PM +0200, Thomas Baker wrote:
> > For starters, can anyone out there say whether the problem
> > lies with Cygwin (permissions), Fetchmail, or Procmail?
> 
> My WAG is that your problem is due to incorrect file permissions.
> Recall that the latest Cygwin DLL now defaults to ntsec *on*.

Hmm, have been trying to get my head around that one... The
Procmail man page doesn't have much on "permission" and
"ntsec" -- am I looking in the right place?

> I would check the permissions of $PMDIR, $PMDIR/procmail.log, and your
> entire $MAILDIR tree.

The binaries:
-rwxr-xr-x    1 tbaker   None        61952 Aug 19 16:41 /bin/procmail
-rwxr-xr-x    1 tbaker   None        61952 Aug 19 16:41 /usr/bin/procmail

$MAILDIR:
drwxr-xr-x   23 tbaker   None        32768 Oct 23 10:44 e:/uc

$PMDIR:
drwxr-xr-x    2 tbaker   None         4096 Oct 23 10:44 e:/u/procmail

Are these permissions set as they should be?

> A quick test would be to shutdown all Cygwin processes and set
> CYGWIN=nontsec to see if procmail starts to function properly again.
> If this "fixes" the problem, then turn ntsec back on and fix your
> permissions problem for real.

I closed all bash windows, put "export CYGWIN=nontsec" in
the profile, opened a bash window, verified with "echo $CYGWIN"
that it was indeed "nontsec", and tried Fetchmail again -- and,
as before, no Procmail log was initialized in $PMDIR, nor were
the recipes applied.

Before doing this test, however, I had captured the following 
permissions for the binaries:

-rwxrwxrwx    1 Administ    61952 Aug 19 16:41 /bin/procmail
-rwxrwxrwx    1 Administ    61952 Aug 19 16:41 /usr/bin/procmail

..showing them to belong to Administ instead of tbaker.

Tom

-- 
Dr. Thomas Baker                                Thomas DOT Baker AT bi DOT fhg DOT de
Institutszentrum Schloss Birlinghoven          mobile +49-171-408-5784
Fraunhofer-Gesellschaft                          work +49-30-8109-9027
53754 Sankt Augustin, Germany                    fax +49-2241-144-2352

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