That issue is related to apparmor package

> Does "grep -R mutt /etc/apparmor.d/" return anything?

root@marcelo:~# grep -R mutt /etc/apparmor.d/
/etc/apparmor.d/abstractions/wayland:  owner
/run/user/*/{mesa,mutter,sdl,wayland-cursor,weston,xwayland}-shared-* rw,
/etc/apparmor.d/abstractions/X:  owner /run/user/*/.mutter-Xwaylandauth.* r,
/etc/apparmor.d/abstractions/private-files:  deny @{HOME}/.mutt** mrwkl,
/etc/apparmor.d/abstractions/ubuntu-console-email:  /usr/bin/mutt Cx -> 
sanitized_helper,
root@marcelo:~#

After make changes in /etc/apparmor.d/abstractions/private-files, that issue go
alone.

This changes was done:

# systemctl stop apparmor

I need to edit /etc/apparmor.d/abstractions/private-files

# nano /etc/apparmor.d/abstractions/private-files

  # privacy violations (don't audit files under $HOME otherwise get a
  # lot of false positives when reading contents of directories)
  deny @{HOME}/.*history mrwkl,
  deny @{HOME}/.fetchmail* mrwkl,
#  deny @{HOME}/.mutt** mrwkl,
  deny @{HOME}/.viminfo* mrwkl,
  deny @{HOME}/.*~ mrwkl,
  deny @{HOME}/.*.swp mrwkl,
  deny @{HOME}/.*~1~ mrwkl,
  deny @{HOME}/.*.bak mrwkl,

and comment the line deny @{HOME}/.mutt** mrwkl,

Need to restart apparmor

# systemctl start apparmor


The issue go alone and all work perfectly!

More details are in this thread:

http://lists.mutt.org/pipermail/mutt-users/Week-of-Mon-20191014/001288.html

-- 
Laia, ML

Reply via email to