I just installed mutt ('brew install mutt') running as myself (uid=501(john)), no sudo.
It seems to have worked, but now I've got a couple of weird permission problems.
When I run mutt, email always appears new and I can't delete it. When I try, the screen flashes (visual bell, I guess) and I get "Mailbox is read-only". The mailbox appears to be /var/mail/john, and
lsgives me this:
-rw------- 1 john mail 607 Jun 24 11:25 /var/mail/john
(I'm not in the
When I run mutt as another user on the system, I get different errors.
sudo su - conrad
Now my uid (as given by id(1)) is 502 (conrad).
This time when I run mutt, as before (just plain
mutton the command line), I get slightly different errors:
/Users/conrad/.mbox: No such file or directory (errno = 2)
(If I supply
-f /var/mail/conradthen I go back to case 1.)
If I use
sudoto run mutt, then everything's copacetic, but that doesn't seem right.
How do I fix this?
I guess I'm asking two questions:
- How do I fix the file permission issue?
- How do I make mutt, when run as another user besides the one that installed it, by default read from
My software is running the specific versions:
Deimos$ sw_vers ProductName: Mac OS X ProductVersion: 10.10.3 BuildVersion: 14D136 Deimos$ brew info mutt | head -1 mutt: stable 1.5.23 (bottled), HEAD