Comments (13)
Did you rebuild encfs4win ?
Normally we have not broke compatibility with Dokan 6.0. if you rebuild it should work.
I will not be able to help you much more and It looks like encfs4win is unmaintained.
If you have the possibility to maintained it, it would be great !
from dokany.
No I didn't rebuild it, And its repository is unavailable now anyway.
I found a github which seems to host it (there is no way to check if it has 100% same files now) - https://github.com/freddy77/encfs4win
but still compiling it is not a thing everyone could do ( http://stackoverflow.com/questions/18993141/howto-compile-encfs4win-on-windows )
from dokany.
Without rebuild it is for sure that you will have a issue :(
Binary compatibility changed since we have moved to Visual Studio 2013.
Encfs4win seems to be a good projet. If someone want to maintain it, I would be glad to add it to the dokan-dev !
from dokany.
@Liryna ok... I rebuilt it with VS 2013 and guess what? it gives pretty same error...
23:26:48 (..\encfs\encfs.cpp:141) error caught in getattr
from dokany.
Ah that's great ! You will be able to debug it now.
It would be nice if you could fork encfs4win with the fix.
from dokany.
@Owyn Have you been able to make encfs4win work with dokany ?
from dokany.
@Liryna it worked from the box. just without some feautures which got broken.
from dokany.
So I will close this issue if you don't mind. I think it is related to encfs4win.
It is pretty sad that even with a good number of users, nobody is willing to maintain it.
I hope someone will take the flag in a near future !
from dokany.
Hi @Liryna -- maybe you have some ideas that can help me fix this issue? I have noticed that when encfs4win is mounted to a drive letter (e.g., "Z:") then everything works well, but when encfs4win is mounted to an empty folder (e.g., "C:\myfiles\mountpoint"), all of the requests for getattr are for the short name (8.3 filename).
For instance, when requesting the file "Z:\file.txt", getattr provides "file.txt". When requesting "C:\myfiles\mountpoint\file.txt", however, getattr provides the file "FILE.TXT".
Normally this is not an issue on Windows, but since we are encrypting the file names in encfs, there is a big difference between "file.txt" and "FILE.TXT". Do you have any ideas as to why Dokan is providing the short filename for mounted drives ("C:\myfiles\mountpoint") but provides the long filename when the filesystem is mounted to a drive letter ("Z:") for us?
from dokany.
Hi @jetwhiz ,
This is interesting, does C mirror also get FILE.TXT when mounted to C:\myfiles\mountpoint ?
from dokany.
I just did a quick test (dumping Dokan debug output) and it looks like it might be the same on the fuse mirror:
Mounted to "Z:" doing a getattr for "Cygwin.ico"
FileMatch? : .. (Cygwin.ico,0,0)
FileMatch? : bin (Cygwin.ico,0,0)
FileMatch? : Cygwin-Terminal.ico (Cygwin.ico,0,0)
FileMatch? : Cygwin.bat (Cygwin.ico,0,0)
FileMatch? : Cygwin.ico (Cygwin.ico,0,0)
=>return single entry
Mounted to "C:\dec" doing a getattr for "bunzip2.exe"
FileMatch? : apropos (BUNZIP2.EXE,0,0)
FileMatch? : arch.exe (BUNZIP2.EXE,0,0)
FileMatch? : ash.exe (BUNZIP2.EXE,0,0)
FileMatch? : awk (BUNZIP2.EXE,0,0)
FileMatch? : base32.exe (BUNZIP2.EXE,0,0)
FileMatch? : base64.exe (BUNZIP2.EXE,0,0)
FileMatch? : basename.exe (BUNZIP2.EXE,0,0)
FileMatch? : bash.exe (BUNZIP2.EXE,0,0)
FileMatch? : bashbug (BUNZIP2.EXE,0,0)
FileMatch? : bunzip2.exe (BUNZIP2.EXE,0,0)
=>return single entry
from dokany.
I created an issue related to it #293
I am unable to see for now if it is a dokan issue or it is the system that request such names because of the reparse point.
from dokany.
Ok, thank you, @Liryna! I will try to look into the code to see why there might be a difference here.
from dokany.
Related Issues (20)
- Possibility to increase thread count & change DOKAN_OPTION_ALLOW_IPC_BATCHING? (FUSE) HOT 14
- some doubts in dokanfuse HOT 2
- 2.1.0.1000 on Windows 11 hangs Windows Explorer in single thread mode HOT 2
- Stdout not working anymore after fuse_main invocation HOT 2
- `DokanInstanceBuilder.Build` returns before file system is ready HOT 1
- Compatibility with Rising antivirus software HOT 8
- unstable on windews : ceph::buffer::v15_2_0::bad_alloc: Bad allocation [buffer:1] HOT 1
- GetFileInformation Not Called by FileDateTime in VB6 HOT 2
- When is ReadFile() called? HOT 1
- There are some errors when test memfs with winfstest HOT 2
- Dokan2 driver fails to install on Windows 10 HOT 2
- Library - Fail mount with DOKAN_OPTION_CURRENT_SESSION and mount point path
- Install fails on Win11 - Paralles on Mac M1 HOT 5
- Help | How to implement save in dokan HOT 13
- Cannot uninstall Dokan Library - Blocked by pending restart stuck state. HOT 9
- Installer says Dokan 2.1.0.1000 is installed, but it isn't
- dokan limit speed, but windows10 pop-up never displays progress
- How to know the directory update event in memfs when user clicks F5 keyword. HOT 1
- Windows 11 - Saving file by notepad is not working HOT 4
- Need Solution for Error Handling in CloseFile for Remote Drive with FTP Integration
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dokany.