Arlen, I suggest you look at https://stackoverflow.com/a/8579946/1124740 - 
the second comment: "This will not work if you are crossing partitions or 
using a virtual filesystem not supporting moving files. You better use this 
solution <http://stackoverflow.com/a/29105404/532695> with a copy fallback" 
which links to a less (currently) accepted answer to the same question 
https://stackoverflow.com/questions/8579055/how-do-i-move-files-in-node-js/29105404#29105404
 


On Linux /tmp is often 'mounted' in RAM to increase speed. Google suggests 
MINT users often do this though I can't say if that is the default with 
MINT or something Mark has done with his installation. That would make your 
fs.rename (line 160 of tiddlyserver.ts) fail since you can't rename a file 
from one filesystem to another, you have to actually copy the bits and, on 
success unlink (remove) the original file as the alternative solution on 
stackoverflow does.

Thanks for continuing to maintain TiddlyServer.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/919fb283-121a-4f45-88c7-0fc0052df95d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to