This is the mail archive of the
cygwin-apps@cygwin.com
mailing list for the Cygwin project.
Re: exim permission problems with cygwin 1.3.19-1
- From: "Pierre A. Humblet" <Pierre dot Humblet at ieee dot org>
- To: Wolfgang Schnerring <wosc at wosc dot de>
- Cc: cygwin-apps at cygwin dot com
- Date: Wed, 29 Jan 2003 10:01:11 -0500
- Subject: Re: exim permission problems with cygwin 1.3.19-1
- References: <b18as8$l8t$1@main.gmane.org>
Wolfgang Schnerring wrote:
>
> I'm happily using exim-4.10-2 on a Windows 2000 box, but after
> updating Cygwin to 1.3.19-1, sending queued messages fails
> with an error message:
>
> $ exim -qf
> 2003-01-26 15:16:06 H9BRLW-0000ZC-00 Couldn't chown message log
> /var/spool/exim/msglog//H9BRLW-0000ZC-00: Permission denied
The implementation of chown has changed in 1.3.19.
Now it refuses to work if you don't have the RestoreFile privilege.
Before it would try, and fail, leaving the file in a screwed up state.
So you should not see such a difference, if it fails now it should have
failed before...
I will look into it, and why exim needs to chown, but not immediately.
I assume you are a privileged user. You need to be to run the queue
manually. Also, does the daemon have problems running the queue?
> just for reference, the directory looks something like this:
>
> $ ls -la /var/spool/exim/msglog/
> total 0
> drwxrwxrwx+ 2 wosc Kein 0 Jan 29 10:06 .
> drwxrwxrwx+ 5 SYSTEM Administ 0 Jan 28 09:04 ..
> drwxrwxrwx+ 5 SYSTEM Administ 81 Jan 28 09:10 H9BRLW-0000ZC-00
Isn't it strange that the file H9BRLW-0000ZC-00 is listed as a directory
but has a non-zero size? Is that with 1.3.18 or 1.3.19 ?
Or is it a cut & paste issue?
> The message will be sent, but only after I manually delete
> the offending log-file.
Could you check if you have the RestoreFile privilege?
Pierre