Open lanodan opened 3 years ago
BlocKit should now show a dialog window when the server can't be started. Thank you.
Regarding the sandboxing, I wasn't able to run badwolf on my system as the web process crashes because the browser doesn't have permissions to access /var/cache/fontconfig, so it will take some time.
Overall, I just heard about the sandboxing API and I'm not completely sure how to go about accessing /tmp/ars. Maybe using webkit_web_context_add_path_to_sandbox
?
Regarding the sandboxing, I wasn't able to run badwolf on my system as the web process crashes because the browser doesn't have permissions to access /var/cache/fontconfig, so it will take some time.
Weird kind of issue as it is in the allowed paths:
Overall, I just heard about the sandboxing API and I'm not completely sure how to go about accessing /tmp/ars. Maybe using
webkit_web_context_add_path_to_sandbox
?
Yeah, this should be the correct function, hopefully ReadWrite permissions in the sandbox are enough to connect to a socket.
Hi With WebKitGTK sandbox activated (as it is in my own browser, badwolf) it shouldn't be possible to start the server, I think there should be an error message (
fprintf(stderr, …)
or maybe a GTK popup if that can work) instead of silently exiting.(Also not sure if
/tmp/ars
is reachable in the sandbox, it probably isn't)