Re: Mutt can not delete mails
On Fri, Nov 12, 2021 at 07:06:26PM +0100, Hans wrote:
> No, it is not /tmp, but /var/tmp. See here from the output:
> [2021-11-11 22:08:39] ../../mbox.c:895: mutt_mktemp returns "/var/tmp/mutt-
> protheus2-1000-47311-14301765248385272183".
> [2021-11-11 22:08:39] Temporärdatei konnte nicht erzeugt werden!
> [2021-11-11 22:08:44] Sortiere Postfach …
> [2021-11-11 22:08:44] /var/mail/myusername kann nicht geschrieben werden!
> Note, that /var is on its own partition. The rights settings are:
>
> ls -la / | grep var
> drwxr-xr-x 13 root root 4096 2. Sep 18:37 var
Just use ls -ld /var
> ls -la /var/ | grep tmp
> drwxr-xr-x 26 root root 12288 12. Nov 18:53 tmp
Use ls -ld /var/tmp
> So I do not have the right, to create files in /var/tmp. I wonder, if either
> the mutt settings are wrong, or the settings of /var and /var/tmp.
These permissions are wrong for /var/tmp. This is your problem.
unicorn:~$ ls -ld /var/tmp
drwxrwxrwt 6 root root 4096 Nov 12 13:47 /var/tmp
To fix it, run this as root: chmod 1777 /var/tmp
Reply to: