Control: clone 883245 -1
Control: retitle -1 apparmor: no permission to /usr/bin/vivaldi-stable

Hello David,

your reported issue is obviously related to AppArmor. Even if the bug
report is also related to AppArmor it would have been better if you had
created a new issue as your problem is different ftom the reported issue
in 883245.
I've cloned the this old issue into anew one so the AppArmor people
don't have to hassle to figure out which problems are all reported to
this report.

Am 22.11.18 um 19:02 schrieb David Campbell:
> 
> 
>   * Edit <https://forum.mxlinux.org/posting.php?mode=edit&f=104&p=467920>
>   * Report this post <https://forum.mxlinux.org/app.php/post/467920/report>
>   * Quote <https://forum.mxlinux.org/posting.php?mode=quote&f=104&p=467920>
> 
> #1 <https://forum.mxlinux.org/viewtopic.php?p=467920#p467920> Post
> <https://forum.mxlinux.org/viewtopic.php?p=467920#p467920> by *caffinate
> <https://forum.mxlinux.org/memberlist.php?mode=viewprofile&u=19985>* » Thu
> Nov 22, 2018 12:00 pm
> 
> MK Linux 17.1 Thunderbird Version 52.9.1 64 Bit
> 
> One persistent problem I'm having is the inability of Thunderbird to
> open http, https URLs in emails with the Vivaldi. I also had the same
> problem with Chromium.
> 
> When I run Thunderbird in Safe Mode in a console and try to open a url
> in Thunderbird email I get this message:
> 
> *** (thunderbird:961): WARNING **: Could not launch default application for 
> URI: Failed to execute child process "/usr/bin/vivaldi-stable" (Permission 
> denied)*
> 
> EDIT: When I try to open links from Evolution Email Client - works fine.
> *EDIT2: Problem Appears to Be Solved:*
> 
> Narrowed this down to some kind of permissions problem with thunderbird:\
> Found this: https://bugs.debian.org/cgi-bin/bugrepo ... bug=883245
> <https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=883245>

Well, it's mostly clear that thunderbird isn't allowed to run this
binary as this is already visible on the CLI as you have posted above.

> .....
> I'm experiencing the same with the version that's currently in testing. 
> However, I found a workaround: either install thunderbird/1:52.5.0-1 
> from unstable, or disable the apparmor profile yourself:
> 
> *sudo ln -s /etc/apparmor.d/usr.bin.thunderbird /etc/apparmor.d/disable/
> sudo apparmor_parser -R /etc/apparmor.d/usr.bin.thunderbird*
> 
> *Now Thunderbird URL links open correctly in Vivaldi*

Yes and no.
It's a problem related to the AppArmor profile from Thunderbird and
disabling the AppArmor profile make for sure going away the problem, but
ist's not solved. It's probably just one line you need to add to the
AppAprmor profile. That's a thing intrigeri or Vincas can answer for
sure. (CCed)

@intrigeri
You will need to add the correct BTS tagging for apparmore please.

-- 
Regards
Carsten Schoenert

Reply via email to