Settings files are created with a wrong permission
pierre-labastie opened this issue · 1 comments
pierre-labastie commented
When a settings file is created, it is owned by root (if the daemon has been started by the system dbus), and is created with rw permissions only for user. This prevents a normal user to access the file, so that for example when Xorg is started as a user, it does not read the file.
This is because dfork sets umask to 077. The solution might be to set umask explicitly before any g_file_replace family call.
pierre-labastie commented
Fixed at 6592e08