Ok, things get funky, I tried some arbitraty things and found... interesting behavior:
Namely, I have copied that bashscript /usr/bin/element-desktop to /usr/local/bin/elementlauncher and copied the profile for element-desktop to a second file, and only adjusted the path. So /usr/bin/element-desktop and /usr/local/bin/elementlauncher are identical, the profile files for the two are identical except the one opening-line of the profile where they are referring to the two different paths/executables. /usr/local/bin/elementlauncher perfectly works and the apparmor-policy is applied as specified, /usr/bin/element-desktop. Moving elementlauncher to either /usr/local/bin/elementlauncher /usr/local/bin/element-launcher /usr/bin/elementlauncher (and adjusting the path in the profile accordingly) doesn't break anything, everything works perfectly. /usr/bin/element-desktop however still yields /bin/bash: error while loading shared libraries: libreadline.so.8: cannot open shared object file: Permission denied Does anyone have an idea what could be going on here? ~ Jonas -- AppArmor mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/apparmor
