Red Hat Bugzilla – Bug 128971
gconftool-2 creates read-only shared config files
Last modified: 2007-11-30 17:10:46 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.6)
Description of problem:
I am installing FC2 and then applying the updates, but I have noticed
that files in the /etc/gconf tree created or modified by other
packages after GConf2 has been upgraded are only readable by root,
which is wrong for global configuration files. This seems to
correspond to GConf2 being upgraded to version 2.6.0-7 though as I was
upgrading several packages in the same rpm session it is difficult to
What are the permissions on the /etc/gconf/gconf.xml.defaults directory?
ls -dl /etc/gconf/gconf.xml.defaults
drwxr-xr-x 6 root root 4096 Jul 2 10:58 /etc/gconf/gconf.xml.defaults
The problem seems specific to the new GConf2 - I downgraded it and
another package, and upgraded the package with the old GConf2, and the
permissions were right.
So, what were the permissions on /etc/gconf/gconf.xml.defaults when
you had the new GConf2 installed?
Okay. It looks like I was misdiagnosing the problem. What is important
is the umask of the session running rpm, and not the GConf2 version.
If root's umask is 077 when a package is installed the new files
created by gconftool-2 are only readable by root. I still think this
is broken behaviour.
Thanks, I've fixed upstream now:
We'll be pulling that fix in very shortly when we update to the next
release of GConf2 - it'll definitely be in FC3 anyway.