Default configuration files - permissions problem?

Derek Atkins warlord at MIT.EDU
Wed Mar 21 07:03:09 EDT 2007


Hmm..  This is getting into gconf black magic.  You might try:

  gconftool-2 --shutdown

rm -rf /var/tmp/gconfd-brad

  gnucash

-derek

Quoting Brad Milne <mail_4brad at yahoo.co.uk>:

> I did a trace and found
>
> /var/tmp/gconfd-brad/lock/ior"
> 27615 gnucash-bin RET   open -1 errno 2 No such file or directory
>
> I've tried before to make the gconfd-brad folder more accessible and now
> it's perms are wide open (drwxrwxrwx), but still nothing seems to get
> written in it. Should I create something in there myself?
>
>
>
> On 3/21/07, Derek Atkins <warlord at mit.edu> wrote:
>>
>> Well, I would have made the permissions more 664, not 666.  *shrugs*
>> Um, run gnucash under strace and see what's failing?
>>
>> -derek
>>
>> Quoting Brad Milne <mail_4brad at yahoo.co.uk>:
>>
>> > Thanks for the fast reply Derek
>> >
>> > I changed the perms on /etc/gnucash/config now...
>> >
>> >
>> > $ cat etc/gnucash/config
>> > ;;; -*-scheme-*-
>> >
>> > ;; Sample system-wide config file.  At the moment, it's empty.
>> >
>> > $ ls -l gnucash/
>> > total 8
>> > -rw-rw-rw-  1 root  admin  82  6 Feb 12:07 config
>> >
>> > But I still get the same messages. I've already tried fixing the
>> permissions
>> > and reinstalled gnucash. One slight variation from the norm is that I am
>> > running this on a Mac using fink (on which it normally runs really
>> well!).
>> >
>> > Thanks
>> > Brad
>> >
>> >
>> > On 3/21/07, Derek Atkins <warlord at mit.edu> wrote:
>> >>
>> >> Quoting Brad Milne <mail_4brad at yahoo.co.uk>:
>> >>
>> >> > I messed with my permissions across my whole machine (long story -
>> and
>> >> long
>> >> > night!), but now I think I've got them back pretty much as they
>> should
>> >> be.
>> >> > But, when I try to run gnucash now I get two error boxes, one saying:
>> >> >
>> >> > <box>
>> >> > Cannot find default values
>> >> > The configuration data used to specify default values for GnuCash
>> cannot
>> >> be
>> >> > found in the default system locations....
>> >> > </box>
>> >>
>> >> This would be /etc/gnucash/config
>> >>
>> >> > and the other:
>> >> >
>> >> > <box>
>> >> > An error occurred while loading or saving configuration information
>> for
>> >> > gnucash. Some of your configuration settings may not work properly.
>> >> > </box>
>> >>
>> >> This MIGHT be gconf-related..
>> >>
>> >> >> From what I've been able to find out, it looks like a gconf problem
>> >> (?). I
>> >> > can set the default values again using the wizard it prompts to use,
>> but
>> >> > then I get exactly the same messages again next time I start up.
>> >> >
>> >> > Any ideas?
>> >>
>> >> Fix your permissions?  Or better yet, reinstall?
>> >>
>> >> > Thanks
>> >>
>> >> -derek
>> >>
>> >> --
>> >>        Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
>> >>        Member, MIT Student Information Processing Board  (SIPB)
>> >>        URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
>> >>        warlord at MIT.EDU                        PGP key available
>> >>
>> >>
>> >
>>
>>
>>
>> --
>>        Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
>>        Member, MIT Student Information Processing Board  (SIPB)
>>        URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
>>        warlord at MIT.EDU                        PGP key available
>>
>>
>



-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord at MIT.EDU                        PGP key available



More information about the gnucash-user mailing list