[Bug 407459] Re: Procmail opens $HOME/.procmailrc before dropping setuid permissions

2011-04-27 Thread Jamie Strandboge
** Changed in: procmail (Ubuntu) Status: Incomplete => Confirmed ** Changed in: procmail (Ubuntu) Assignee: Kees Cook (kees) => (unassigned) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/4

[Bug 407459] Re: Procmail opens $HOME/.procmailrc before dropping setuid permissions

2011-04-27 Thread Kees Cook
Unfortunately not. :( -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/407459 Title: Procmail opens $HOME/.procmailrc before dropping setuid permissions -- ubuntu-bugs mailing list ubuntu-bugs@lists.

[Bug 407459] Re: Procmail opens $HOME/.procmailrc before dropping setuid permissions

2011-04-27 Thread Jamie Strandboge
@Kees, did you ever hear anything back from upstream? ** Changed in: procmail (Ubuntu) Status: Confirmed => Incomplete ** Changed in: procmail (Ubuntu) Assignee: (unassigned) => Kees Cook (kees) -- You received this bug notification because you are a member of Ubuntu Bugs, which is

[Bug 407459] Re: Procmail opens $HOME/.procmailrc before dropping setuid permissions

2009-08-19 Thread Kees Cook
Ah, good point about the open() side-effects. I have emailed upstream, so hopefully they can provide some ideas on the best way to handle this. ** Changed in: procmail (Ubuntu) Status: New => Confirmed ** Changed in: procmail (Ubuntu) Importance: Undecided => Low -- Procmail opens $H

[Bug 407459] Re: Procmail opens $HOME/.procmailrc before dropping setuid permissions

2009-08-06 Thread Chris Siebenmann
** Changed in: procmail (Ubuntu) Status: Invalid => New -- Procmail opens $HOME/.procmailrc before dropping setuid permissions https://bugs.launchpad.net/bugs/407459 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs

[Bug 407459] Re: Procmail opens $HOME/.procmailrc before dropping setuid permissions

2009-08-02 Thread Chris Siebenmann
Even if procmail closes and reopens the file later as non-root, there are still two problems here. First, procmail has opened (and closed) a file with root permissions. There are 'files' where merely opening (and closing) them have side effects; for example, pointing $HOME/.procmailrc at a rewindab

[Bug 407459] Re: Procmail opens $HOME/.procmailrc before dropping setuid permissions

2009-08-02 Thread Kees Cook
Thanks for this report! As it turns out, this is just procmail attempting to work around the exact issue (strict NFS). If it were to actually open the rc file as root, it would close it and reopen after dropping privileges: /* * if we happen to be still running as root, and the rcfile *