Re: gconftool-2 using user's umask - bug in gconf?

Havoc Pennington <[email protected]>
Newsgroups gmane.comp.gnome.lib.gconf
Message-ID <[email protected]>
On Sat, 2004-06-26 at 10:33, Havoc Pennington wrote:
> On Sat, 2004-06-26 at 06:10, Rubens Ramos wrote:
> >  So - is gconftool-2 supposed to create directories in 
> > /etc/gconf/gconf.xml.defaults with the same umask as the user
> > who's executing it?
> 
> It doesn't seem right to me, no. Should be a one-line fix right?
> 

Here's the issue: gconfd calls umask(022), but gconftool doesn't go
through the daemon. We need to add a umask(022) to gconftool also.
I'd say it's wrong to add it to the backends/libraries since it's a
global setting.

Havoc
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.