Stash located on gvfs via SSH: edit not possible

Asked by Jorrit Schippers

I have a directory mounted via SSH using GVFS. I can create a stash here, the stash location looks like: /run/user/UID/SFTPCONNECTIONSTRING/REMOTEPATH

I can drop files in the mounted directory and read them. However, as soon as I edit a file using gedit or even echo, the file becomes corrupted and reading it later generates an I/O error.

Steps to reproduce when a directory has been mounted:

jorrit@machine:~/Encrypted$ touch test.txt
jorrit@machine:~/Encrypted$ echo "test" >> test.txt
jorrit@machine:~/Encrypted$ cat test.txt
test
jorrit@machine:~/Encrypted$ echo "test" >> test.txt
jorrit@machine:~/Encrypted$ cat test.txt
cat: test.txt: Input/output error

I use Ubuntu 14.10.

Question information

Language:
English Edit question
Status:
Solved
For:
Gnome Encfs Manager Edit question
Assignee:
No assignee Edit question
Solved by:
Jorrit Schippers
Solved:
Last query:
Last reply:
Revision history for this message
Moritz Molch (mmolch) said :
#1

Thank you for reporting your issue.

Does this also happen when you mount the stash manually? This looks like some problem between encfs and gvfs and doesn't seem to be GEncfsM-related. Most likely it's some caching issue caused by too high latency or something like that.

Kind regards,
Moritz

Revision history for this message
Jorrit Schippers (jorrit-ncode) said :
#2

It seems so, yes. A while later I found a reference to the same issues for the combination gvfs + encfs. Very unfortunate, it would be a great combination. I'll mark this as Problem Solved because it is not a gencfsm issue.