Closed tipa40 closed 2 years ago
I think I should reply to myself here that it is a permission issue and that I should try to install brave not using snap(tried to install using --devmode in snap with no luck) and then retry. I can see following from snap logs, stating DENIED:
➜ ~ snappy-debug.security scanlog INFO: Following '/var/log/syslog'. If have dropped messages, use: INFO: $ sudo journalctl --output=short --follow --all | sudo snappy-debug = AppArmor = Time: Aug 1 10:56:13 Log: apparmor="DENIED" operation="exec" profile="snap.brave.brave" name="~/.local/bin/bukubrow" pid=226158 comm="ThreadPoolForeg" requested_mask="x" denied_mask="x" fsuid=1488195095 ouid=1488195095 File: ~/.local/bin/bukubrow (exec) Suggestions:
Hi, I am sorry if this does not belong here. I don't know. If not we can close quickly.
I have installed brave in Ubuntu snaps and installed the bukubrow web extension via the brave/chrome store. I have also installed the bukubrow host. I built the 5.4.0 and I then tried the prebuilt 5.3.0 with same result. I did "bukubrow --install-brave" and it installed successfully to my .config/BraveSoftware/Brave-Browser/NativeMessagingHosts/com.samhh.bukubrow.json in my home dir. Since brave is in snap I also copied that file manually into ~/snap/brave/170/.config/BraveSoftware/Brave-Browser/NativeMessagingHosts.
The content of my com.samhh.bukubrow.json (With the only modification that I when pasting into this issue ticket replaced my home user name directory with ~ which in the file is the explicit path instead): {"name":"com.samhh.bukubrow","description":"Bukubrow is a WebExtension for Buku, a command-line bookmark manager. This is the corresponding host that facilitates interfacing with the Buku database via native messaging.","path":"~/.local/bin/bukubrow","type":"stdio","allowed_origins":["chrome-extension://ghniladkapjacfajiooekgkfopkjblpn/"]}
Is this something about that Ubuntu snap can't reach the bukubrow? Or something else? Are you able to point me in some direction in what to try? :)