Symbolic Links

prl prl at ozemail.com.au
Tue Jun 17 09:23:50 EDT 2014


On 17/06/2014 01:02, Maf. King wrote:
> When GC saves the file, it renames the file to the backup, then saves 
> the data out to the filename - it doesn't update a file and then 
> create a backup - I think it is logically a more "safe" way to save 
> out financial data... but this does explain the symlink being 
> overwritten. 
The symbolic link isn't being overwritten, it's being renamed.

Before backup and save we have a link like this:
accounts.gnucash -> /somewhere/else/accounts.gnucash

After save and backup, we have:
accounts.gnucash.backup -> /somewhere/else/accounts.gnucash (old 
accounts.gnucash symlink with new name)
accounts.gnucash (new file)

No links have been overwritten in the making of this example.

Peter


More information about the gnucash-user mailing list