I use the command, to mount my remote filesystem using SSHFS:
$ sshfs -o uid=1000 -o gid=1000 firstname.lastname@example.org:/ "/home/chendy/my_mount"
Everything seems to be happy, unless I try and open and save a file with Sublime...
View and rename files? YES:
... I can view my files in the file explorer, and I can successfully rename files using the file explorer.
... When checking permissions, everything seems in order:
$ ls -l '/home/chendy/my_mount/home/kano/test.py' -rwxrwxrwx 1 chendy chendy 927 Apr 15 16:24
Edit file with VIM? YES
... I can also open the file with VIM and save it.
Edit file with Sublime? ERROR
... But when I open the file in Sublime (Sublime Text 3 Build 3059) by loading it through the file explorer, or using the command line:
$ /opt/sublime_text/sublime_text '/home/chendy/my_mount/home/kano/test.py'
I get the same error:
Unable to save ~/my_mount/home/kano/test.py Error: rename(/home/chendy/my_mount/home/kano/.subl979.tmp, /home/chendy/my_mount/home/kano/test.py) failed: Operation not permitted
What's going on? Is there any way to solve?