Browse Articles in Linux How To

Geany errorThere was a bug in Geany the light weight IDE for Linux, that would give an error -

Error renaming temporary file: Operation not permitted. The file on disk may now be truncated!

This error happens when you mount a remote file system through Fusion SSHFS using the syntax

sshfs remoteuser@remoteserver.com:/home/remoteuser/blah /home/localuser/blah

In order to work around this bug you can give sshfs an extra switch or flag.

sshfs -o workaround=rename remoteuser@remoteserver.com:/home/remoteuser/blah /home/localuser/blah

If you now mount the file systems with this extra flag or switch you now will be able to successfully use Geany to do your coding on your remote mounted file systems. This was tested and confirmed in Fedora 15.

Want to leave a Commnet?