Hello, i'm the codebase maintainer of S-nail,

Jörg-Volker Peetz <jvpe...@web.de> wrote:
 |Package: s-nail
 |Version: 14.8.5-3

 |trying to read local mails in /var/mail with mailx fails with output as
 |follows:
 |
 |Creating dotlock for "/var/mail/<user>" .....
 |Unable to (dot) lock mailbox, aborting operation: Permission denied

 |(where I replaced the user name with "<user>").
 |Any ideas?

S-nail ships with a special, privilege-separated program that must
be installed SETUID root; it seems Debian installs this program as
"/usr/lib/s-nail/s-nail-privsep".  Doing "$ ls -latr" on this
should give output like

  -r-sr-xr-x  1 root root 21856 Sep 11 16:09 s-nail-privsep*

i.e., SETUID root, executable for anyone, "$ chmod 4555 FILE" as
root (via super / sudo / su as necessary) will do.
Note that v14.8.5 doesn't take into account readonly filesystems:
v14.9 will special treat errors caused by this condition instead.
It really should work fine otherwise?

--steffen

Reply via email to