Could not obtain the lock

AC gnucash at acarver.net
Tue Nov 21 11:28:43 EST 2017


On 2017-11-21 00:46, David Carlson wrote:
> Moira,
> 
> The lock file is always in the same folder as the data file and it always
> has the same name as the data file with the suffix .LCK  Unless you are
> doing something very unusual, the files will be visible in your file
> explorer as long as you put them somewhere in your user folder on your
> local machine ('C' Drive) or on a removable device.  If you are using cloud
> storage, you may have a problem with the configuration.
> 
> In Windows the user name matters when there are more than one user on the
> same machine, but on single user machines it does not matter if the files
> were created in another machine under a different user name.



One small point, it *can* matter whether a file works on a single user
machine or not depending how it was copied from one to the other.  If a
transfer was performed with something like a USB memory stick that is
formatted using FAT or FAT32 then there should not be any problems as
ownership information is stripped when using those storage formats.
However, if the transfer was performed with an NTFS formatted memory
stick or if it was a network copy that can maintain NTFS attributes then
there will be a problem.

Windows stores ownership information internally as GUIDs which will be
unique across all machines assuming the user account was created
directly (not enterprise user management).  It doesn't matter whether
the machine is "single user" or "multi user", every locally created user
has a GUID that other machines won't know about.


More information about the gnucash-user mailing list