Hi, I have a question. Where do I have to put the json policy file in Linux, when using Brave in Flatpak?
Hi, yes I am also interested in this question. Ive tried all sorts of different paths in the flatpak /var/ directory, such as /etc/brave/policies/managed/policy.json, but I haven’t gotten it to work.
I stopped using Brave via flatpak (I don’t remember what kind of problems I encountered), but the install path is /var/lib/flatpak/app/com.brave.Browser/
You can see on brave://policy
In brave://policy/logs can see logs like [VERBOSE] Skipping mandatory platform policies because no policy file was found at: /etc/brave/policies/managed
You can use the find
command on terminal in flatpak path to find a json file.
Sorry, yes I put several files such as policy.json, policies.json, in this path. /var/lib/flatpak/app/com.brave.Browser/x86_64/stable/67e7b1a7c4ce5baccfafc298f9514a38d37df8bb870f3f288e739167dc56c3f2/files/etc/brave/policies/managed/
However it still says " * [VERBOSE] Skipping mandatory platform policies because no policy file was found at: /etc/brave/policies/managed"
I am trying to do a URL blocklist and I believe I have the correct flatpak path so I am not sure why it isn’t working. If you have any advice that would be greatly appreciated. Thank you
{
“URLBlocklist”: [ “https://www.brave.com/” ]
}