[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



Hello!

Rick Thomas <rbthomas@pobox.com> wrote:
 |Hi Steffan,

(My name is Steffen)

 |So what, exactly, are the correct permissions for s-nail-privsep?
 |
 |Should it be:
 |    -rwxr-sr-x 1 root mail 10104 Dec  4 14:52 /usr/lib/s-nail/s-nail-privsep
 |or:
 |    -rwsr-xr-x 1 root mail 10104 Dec  4 14:52 /usr/lib/s-nail/s-nail-privsep
 |or:
 |    -rwsr-sr-x 1 root mail 10104 Dec  4 14:52 /usr/lib/s-nail/s-nail-privsep
 |
 |Or something else?

Well, just as already shown in this thread, on my local box it is

  ?0[sdaoden@wales nail.git]$ ll /usr/local/libexec/s-nail-privsep
  -r-sr-xr-x 1 root root 9860 Dec  2 14:45 /usr/local/libexec/s-nail-privsep*

It must be SETUID to a super-user that can impersonate as all
users and groups that mailx(1) may potentially open system
mailboxes for in order to give mailbox locks the UID and GID of
the mailbox they are ment for.  Usually only root satisfies this.
I thing i need to improve the wording (not examples) in make.rc
and INSTALL.

 |Thanks for all your help!

Hm.  Thanks to you.  Just complain loudly if something isn't what
you'd expected!
Ciao,

 |Rick

--steffen


Reply to: