-
Notifications
You must be signed in to change notification settings - Fork 135
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
exec failed: Permission denied while mako is in /usr/bin/ #391
Comments
Related to #378? |
Yes I would say this is related. I included 2 problems in 1 issue because I believe they have the same root cause and behavior. |
This sort of feels like apparmor blocking syscalls. Do you have it enabled? We probably need to update the profile for the exec binding. |
I'm having the same problem with the same symptoms, and also seeing apparmor blocking mako in journalctl:
Pop!_OS 21.04 |
I am seeing the same problem. Looks like apparmor is blocking the exec calls. (I'm using the exec calls to make sounds play on notification as suggested in
|
AppArmor support has been dropped: #426 |
OK get ready for a weird one.
So the contents of
~/.config/mako/config
are as follows.OK then I execute
/usr/bin/mako
and then when I try to get a notification usingnotify-send "test" "test1"
. I get the following output on the console.Whats really weird is the "solution" which is this:
Then when I run
/usr/local/bin/mako
no issues. "test" gets output to the console and no errors. In both cases the proper notification gets displayed.Also worth mentioning
ln -s
does not work. It has to be a hard link. I have tried other commands in the config likesleep
andpw-play
they all get the same error. Also the new hard link (or regular copy works too) doesn't have to be in/usr/local/bin/
it can be anywhere but/usr/bin/
. I've also compiled the latest master from source and it made no difference. Whenever I run a mako executable that is located in/usr/bin/
I get the permission denied error.This issue extends beyond the exec. Another thing I found that is broken is the
-c
option./usr/bin/mako -c ~/.config/mako/configcopy
has the following output (unless configcopy is a symbolic link to~/.config/mako/config
, then everything works)./usr/bin/mako -c ~/.config/mako/config
works and/usr/local/bin/mako -c ~/.config/mako/configcopy
works.I'm running debian testing with swaywm. mako is version 1.6-1. I'm sure this is something specific to my system, probably even my fault, but any insight would be appreciated.
The text was updated successfully, but these errors were encountered: