Skip to content

How sensitive is access to the dconf config file and dbus interface? #115

Answered by rusty-snake
odomingao asked this question in Q&A
Discussion options

You must be logged in to vote

Well, it oblivious depends on the other programs you have installed that make use of this shared settings system. Nevermind, you should generally treat talk access to ca.desrt.dconf as command execution on the host.

As a workaround you can set GSETTINGS_BACKEND=keyfile which will cause gsettings to read and write from/to $XDG_CONFIG_HOME/glib-2.0/settings/keyfile. Of course you have to ensure that $XDG_CONFIG_HOME/glib-2.0/settings/keyfile on the host is not the same file as inside of the sandbox.

Note that

The following environment variables are only useful for debugging GIO itself or modules that it loads. They should not be set in a production environment.

https://docs.gtk.org/gio/ov…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@odomingao
Comment options

Answer selected by odomingao
Comment options

You must be logged in to vote
1 reply
@rusty-snake
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants