View Single Post
Old 10-07-2014, 05:40 PM   #9
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,761
Karma: 30237526
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by kovidgoyal View Post
The editor creates its temp file in the same directory as the original book file (it has in order for renames to be atomic). So the permissions problem is likely in whatever directory the original file is in.
Is that true on Windows?

What I see when I open a book in the editor is that calibre creates a folder in %CALIBRE_TEMP_DIR% with two subfolders (0000_xxxx and 0001.xxxx) each containing a hardlink clone of the book content files, if I change a file, the original remains in 0000.xxxx and the new will be in 0001_xxxx, obviously they're no longer hardlinked to the same data.

I've not tried putting the temporary location on a file system that doesn't support hardlinks, such as FAT32 or ReFS

BR
Attached Thumbnails
Click image for larger version

Name:	Capture.JPG
Views:	271
Size:	150.1 KB
ID:	129347  

Last edited by BetterRed; 10-07-2014 at 06:14 PM. Reason: change image
BetterRed is online now   Reply With Quote