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



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





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]