This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Cygwin/Procmail stops working after setup.exe upgrade


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.Baker@bi.fhg.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]