Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Permission error passwordeval and awk #26

Closed
averter opened this issue Jul 15, 2020 · 3 comments
Closed

Permission error passwordeval and awk #26

averter opened this issue Jul 15, 2020 · 3 comments

Comments

@averter
Copy link

averter commented Jul 15, 2020

Hello,

I don't know where else to ask for help with an issue that I'm having with msmtp. Basically, for some reason I get a permission error when using passwordeval. I've opened a question on SO, tried lots of things, but got no answer/result so far. Can you please help me or point me towards someone who might be able to help? Thank you in advance.

@marlam
Copy link
Owner

marlam commented Jul 15, 2020

Inexplicable 'permission denied' errors are often caused by an overly restrictive AppArmor profile for msmtp.

Unfortunately this often happens on Debian and Ubuntu and it confuses many users.

@averter
Copy link
Author

averter commented Jul 16, 2020

Thank you very much for that. After disabling the apparmor profile for msmtp it worked, and I've learned something new out of this. Probably this happened because in my new OS version they have become more stringent with msmtp? Regardless, you have my thanks. If you can/want to answer my question on SO I will happily accept it/give you the points the question is worth. The commands I've used are

sudo ln -s /etc/apparmor.d/usr.bin.msmtp /etc/apparmor.d/disable/
sudo apparmor_parser -R /etc/apparmor.d/usr.bin.msmtp

@averter averter closed this as completed Jul 16, 2020
@marlam
Copy link
Owner

marlam commented Jul 16, 2020

I'm not on SO; if you could add the solution there it might help people finding the problem faster.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants