Sounds like   /the/other/executable ix,   is what fits you best.
This is what I did before (and just tried again). Indeed this is not working for me (I just checked again). I think the problem might be that the executable I try to execute (/my/other/executable) is in /usr/bin? Because /my/executable is hanging from my home dir and there is
no problem in that case.

Without the apparmor profile I can execute both executables. I am trying to run a service
inside a docker container.

I load the profile like this in the server machine (NOT in the container/

sudo apparmor_parser -r -W myprofile-file

And run the docker machine like this:

docker run ... --security-opt apparmor=my-profile ...

if I execute /usr/bin/myexe I get permission denied

Regards,
Germán Diago


--
AppArmor mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/apparmor

Reply via email to