nmh-workers
[Top] [All Lists]

Re: [Nmh-workers] dot locking broken?

2015-02-13 21:39:16
Marcin wrote:

David Levine <levinedl(_at_)acm(_dot_)org> 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
Nmh-workers(_at_)nongnu(_dot_)org
https://lists.nongnu.org/mailman/listinfo/nmh-workers

<Prev in Thread] Current Thread [Next in Thread>