nmh-workers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nmh-workers] dot locking broken?


From: David Levine
Subject: Re: [Nmh-workers] dot locking broken?
Date: Fri, 13 Feb 2015 22:38:27 -0500

Marcin wrote:

> >> David Levine <address@hidden> wrote:
> > Marcin wrote:
> >
> >> With a failing setgid() (fixed by another patch already) I am getting:
> >>
> >> % inc
> >> inc: unable to set group to 6 setegid: Operation not permitted
> >> inc: unable to create temporary file in /var/mail/,LCK.XXXXXX
> >> inc: unable to set group to 6 setegid: Operation not permitted
> >> %
> >>
> >> instead of
> >>
> >> % inc
> >> inc: unable to set group to 6 setegid: Operation not permitted
> >> inc: unable to create temporary file in /var/mail/,LCK.XXXXXX
> >> (1 second)
> >> inc: unable to create temporary file in /var/mail/,LCK.XXXXXX
> >> (1 second)
> >> inc: unable to create temporary file in /var/mail/,LCK.XXXXXX
> >> (1 second)
> >> inc: unable to create temporary file in /var/mail/,LCK.XXXXXX
> >> (1 second)
> >> inc: unable to lock and fopen /var/mail/sapern
> >> inc: unable to set group to 6 setegid: Operation not permitted
> >> %
> >
> > Which configuration (with or without your patch above) produces the
> > following line?
> >
> >> inc: unable to lock and fopen /var/mail/sapern
>
> This was the result of setgid() not working with dot locking
> enabled, unless you mean something else...

That's what I meant.  That's the most helpful line in the
error message, so another reason the leave the code as-is.

David



reply via email to

[Prev in Thread] Current Thread [Next in Thread]