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

Re: Bug#806858 Re: s-nail: mailx: Unable to (dot) lock mailbox, aborting operation: Permission denied



On Dec 30, 2015, at 9:51 AM, Jörg-Volker Peetz <jvpeetz@web.de> wrote:

> Steffen Nurpmeso wrote on 12/30/15 12:36:
>> Hello!
>> 
>> Rick Thomas <rbthomas@pobox.com> wrote:
> <snip>
> 
>> |    -rwxr-sr-x 1 root mail 10104 Dec  4 14:52 /usr/lib/s-nail/s-nail-privsep
> 
> Wouldn't these be enough rights for mailx to do it's work?
> I.e., owner: root, group: mail, sticky bit for the group?
> This works on my system (and on Rick's).
> 
> Regards,
> jvp.

Set-gid alone works for all my use cases, but I have never needed to use the “-u user” option to masquerade as someone different from myself.  If you need to do that, I’m guessing that nothing less than set-uid will do the job.  Though I haven’t tried it so I don’t know for sure…

Enjoy!
Rick

Reply to: