Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error renaming file. Invalid cross-device link #1010

Closed
nicolas-raoul opened this issue Apr 26, 2016 · 3 comments
Closed

Error renaming file. Invalid cross-device link #1010

nicolas-raoul opened this issue Apr 26, 2016 · 3 comments
Labels

Comments

@nicolas-raoul
Copy link

nicolas-raoul commented Apr 26, 2016

Every time I create a new file (CTRL+n) and rename it, I get this error:

geany

The file gets correctly renamed, though. No trouble beyond this surprising popup.

Ubuntu 2015.10 and its Geany 1.25, with Save Actions plugin enabled. Encrypted home.

@elextr
Copy link
Member

elextr commented Apr 26, 2016

What are your save-actions plugin settings and what are your save settings (Various preferences use_atomic_file_saving, use_gio_unsafe_file_saving and gio_unsafe_save_backup)?

@nicolas-raoul
Copy link
Author

conf1
conf2
conf3
Thanks!

@elextr
Copy link
Member

elextr commented Apr 26, 2016

In future please don't paste images, just say what the settings are.

What is happening is that because you have "Instant Save" enabled, the new file is saved in /tmp with a temporary filename. You then try to rename it to somewhere else which is on a different filesystem. But you cannot rename between filesystems. However you are saved because then the Save As saves the file to the new location anyway. You will probably find the original temp files are still in /tmp but thats no problem since they will go away at next reboot.

So just do Save As, not rename.

@elextr elextr closed this as completed Apr 26, 2016
@elextr elextr added the invalid label Apr 26, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants