Sublime Forum

Failed: Invalid cross-device link

#1

I have a rather special setup that may be causing this error, or maybe it is just a bug… regardless, you should be aware:

Running Ubuntu 13.10 on a macbookpro 11,3 and using Sublime Text build #3059

I have a separate partition (hfs+) that contains a folder for Copy ( copy.com?r=2ahxEp ) and one for Dropbox.

Many of my files are then soft linked to these folders (e.g. ~/.bashrc --> /Data/johnbur/Copy/dot/.bashrc )

When I try to edit any of the files linked to the Copy folder, I cannot save them. Instead I get this error:

Unable to save ~/.bashrc
Error: rename(/home/johnbur/.subl2d6.tmp, /Data/johnbur/Copy/dot/.bashrc) failed: Invalid cross-device link

Not sure what is causing it. I can edit it without any problems in other editors, so it seems to be something with the tmp file in Sublime Text.

0 Likes

#2

Found a solution, simply set

{
“atomic_save”: false
}

In your settings file

0 Likes