You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When files on a cryptomator drive (via Dokany on an internal NTFS drive) are accessed through a name with differing case representation they cannot be found.
System Setup
Operating system and version: Windows 10
Cryptomator version: 1.5.3
Drive: [Dokany/FUSE/WebDAV] Dokany
Steps to Reproduce
I tried NodeJS, but this shouldn't matter at all:
> let fs=require("fs")
> fs.writeFileSync("test.dat", "test")
> fs.readFileSync("test.dat")
<Buffer 74 65 73 74>
> fs.readFileSync("Test.dat")
Uncaught Error: ENOENT: no such file or directory, open 'Test.dat'
at Object.openSync (fs.js:461:3)
at Object.readFileSync (fs.js:364:35) {
errno: -4058,
syscall: 'open',
code: 'ENOENT',
path: 'Test.dat'
}
Expected Behavior
Well, files should be found and opened without error.
Actual Behavior
There's an "ENOENT" error.
Reproducibility
Always
The text was updated successfully, but these errors were encountered:
jeffrson
changed the title
Cryptomator 1.5.3 should ignore file name casing Windows but doesn't
Cryptomator 1.5.3 should ignore file name case on Windows but doesn't
May 9, 2020
Cryptomator is case-sensitive. This is inevitable due to deterministic filename encryption (see explanation in cryptomator/cryptomator#622).
There is the possibility to add a case-insensitive mode, which will take O(n*m) instead of O(1) for every file operation that needs to know the name (with n being the number of items in a directory for each element in a path with m elements). This is less than desirable.
Since this is quite unexpected in Windows I see a need for documenting this emphasized. It clearly limits straight use of applications on Cryptomator drives.
I really had looked for this information in the community and documentation sites, especially FAQ.
overheadhunter
changed the title
Cryptomator 1.5.3 should ignore file name case on Windows but doesn't
Add hint that Cryptomator is case-sensitive
May 10, 2020
Description
When files on a cryptomator drive (via Dokany on an internal NTFS drive) are accessed through a name with differing case representation they cannot be found.
System Setup
Steps to Reproduce
I tried NodeJS, but this shouldn't matter at all:
Expected Behavior
Well, files should be found and opened without error.
Actual Behavior
There's an "ENOENT" error.
Reproducibility
Always
The text was updated successfully, but these errors were encountered: