Bug 375451

Summary: Can create, but cannot copy files to sshfs-mounted /cygdrive/c - disk full
Product: [Frameworks and Libraries] frameworks-kio Reporter: pgkos.bugzilla
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: REPORTED ---    
Severity: normal CC: elvis.angelaccio, kdelibs-bugs, retratserif, sgat_bugs
Priority: NOR    
Version: 5.69.0   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:

Description pgkos.bugzilla 2017-01-23 13:51:13 UTC
When I try to copy a file to a sshfs-mounted directory, an error message appears in Dolphin 16.12.1 (64-bit Arch Linux):

cannot save file .
disk full

The behavior is a bit different than in bug 357930 - it is possible to create new files. It is also possible to edit, append some data and save them (e.g. in Kate).

But it is not possible to copy files.

Dolphin always shows "Unknown size" in the lower right corner.
The same bug exists in Krusader - but it shows "0 bytes left from 0 bytes (fuse.sshfs)" instead.

This bug did not exist in the previous versions of Dolphin - the free space was displayed correctly and it was possible to copy files in version 16.08.
Comment 1 Elvis Angelaccio 2017-01-24 18:10:46 UTC
Seems to work for me, tried with ctrl+c and ctrl+v shortcuts. How were you copying the files?
Comment 2 pgkos.bugzilla 2017-01-24 20:52:52 UTC
Sorry for the confusion, I have now verified that the issue occurs only if I mount a Cygwin's /cygdrive directory through sshfs.

Then, the Windows drives become the subfolders of this mounted cygdrive directory and their sizes/free space cannot be detected by Dolphin.

But, if I mount e.g. /cygdrive/c directly, the free space is detected successfully.

Also, in all cases, df . shows correct drive size and free space.
Comment 3 Pyroman 2020-05-09 13:24:55 UTC
I have same problem with sshfs sometimes https://i.imgur.com/CpsPxqi.png

Drive mounted with command sshfs root@192.168.1.41:/ /home/username/mnt/mobile -p 2222 -o reconnect,allow_other,gid=1000
It's a Android device with SshHelper app as ssh server.

I can copy files into with cp command but Dolphin and Krusader fail.
Comment 4 Pyroman 2020-05-09 13:27:48 UTC
I run KDE Neon 18.04 latest.