Closed vovcacik closed 7 years ago
There is a hint. Before you run the steps to reproduce the problem create empty %userprofile%\Desktop\test
directory. When you are prompt to move the x:\test
directory select to merge the conflicts. Explorer will be complaining about that the file.txt
is missing - this indicates that the contents of the directory is deleted before explorer has the chance to copy it.
(This is a blind guess) Can you try an experimental Dokan version to see if it fixes your issue?https://ci.appveyor.com/project/Rondom/dokany/build/1.0.1-272/job/ltjus6uh1jdhq8al/artifacts
Snapshots are not signed by certificate trusted by Microsoft, so you would need to follow the instructions here: https://github.com/dokan-dev/dokany/wiki/Build#user-snapshot
Actually, the patch is inside the user-mode DLL, so if it is too much a hassle for you, just replacing the DLLs would be enough. This requires someone extracting the DLLs from that installer or compiling the (lib)dokanfuse1.dll from that commit.
@Rondom I've replaced the libs from the build you linked, rebooted and rerun the reproduce steps, but it made no difference.
File: libdokanfuse1.dll
MD5: c7d09fc138aa2b093df8ed020f1b6d8a
File: dokanfuse1.dll
MD5: 69a4343c5bb704a735d1e316b5ba997a
Ok, thanks. Worth a try nonetheless :-/
Hi @vovcacik -- this is likely an issue related to https://github.com/jetwhiz/encfs4win/issues/72 (the hidden/system desktop.ini file causes lots of issues with moving/deleting/renaming on Windows).
Can you try to close the folder in Explorer, unmount the encfs drive and then remount and move the folder via command line (without re-opening in Explorer) to see what happens?
This works robocopy x:\test c:\Users\Admin\Desktop /MOVE
regardless I open the encfs drive in Explorer or not.
This problem originates from Dokany 1.0.2, but appears to be fixed as of Dokany 1.0.3.
If the most recent release (v1.10.1-RC12) doesn't fix this for you, please let me know!
Works fine with encfs v1.10.1-RC12 and Dokany v1.0.3. Thanks
Great, thanks for the update @vovcacik !
Environment
Description
Moving directory from encrypted disk to desktop results in data loss. The directory gets moved, but is empty. 100% reproducible.
Expected behavior vs. actual behavior
After moving the directory to desktop it should have all the files it had on the encrypted disk. But actually it was empty. To be precise the directory
test
should containfile.txt
file.Steps to reproduce problem
There is prompt to manually move the directory to desktop. You can use any of this methods:
To initialize encfs use standard profile (not expert nor paranoid), but it makes no difference.
Relevant logs
There is nothing interesting in the log, but anyways...