Marcin wrote:

> >> David Levine <[email protected]> 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

_______________________________________________
Nmh-workers mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/nmh-workers

Reply via email to