Removing a LCK file

linas@linas.org linas@linas.org
Mon, 4 Dec 2000 20:22:50 -0600 (CST)


It's been rumoured that Ed Bacon said:
> 
> Robert,
> 
> Thanks for the quick reply.  Here is exactly what happened.
> 
> 1) Had a working gnucash in /home/ewb/gnucash
> 2) made a CD backup of /home/*
> 3) installed a new hard drive
> 4) restored /home/*
> 
> The owner/group of all of my gnucash files were root/root after I restored them from the CD.
> Changing the owner/group to ewb/users doesn't help.   If I run gnucash as root then I can
> open the files (a recent discovery).  Do you happen to know what the permissions should be
> for gnucash files?  600? 660? 666?  Does it matter?

The gnucash file should be writable by the owner.  The LCK file is
usally in the same directory as the data file, but I'm wondering if it
ended up in the /home/ewb/.gnucash directory 'by accident'.  (that is a
default directory that is sometimes used to  store data.)

try 
cd /home/ewb
find . -print |grep LCK

to see if there really is a LCK somewhere else.

--linas