I'm using macOS in version 10.14.4.
I'm running Cryptomator in version 1.4.9.
Description
Here's an example that shows how extraneous files and folders get created within a vault's storage's /m/ folder:
Create an empty vault.
Unlock the vault.
List the content of the vault's storage folder.
Create an empty text file and save it to the root folder of the vault with the following file name: 0123456789abcdefghijklmnopqrstuvwxyz0123456789abcdefghijklmnopqrstuvwxyz.txt
List the content of the vault's storage folder.
Expected
I expect to see one .lng file in a newly created doubly nested folder.
Actual
I actually saw three .lng files in three newly created doubly nested folders.
This is a really undesirable behavior. I encountered this issue while copying a long list of files with long file names in to a vault. Each file with long file name copied into a vault yields six metadata folders and three metadata .lng files. This is many more files and folders than described in the documentation. My reading of cryptofs's source code indicates the bug originates here:
For every file with long file name that gets accessed, created, copied, or moved, cryptofs creates three .lng metadata files because the code attempts to check if that file name is a directory, a symlink, or a file.
Basic Info
I'm using macOS in version 10.14.4. I'm running Cryptomator in version 1.4.9.
Description
Here's an example that shows how extraneous files and folders get created within a vault's storage's
/m/
folder:0123456789abcdefghijklmnopqrstuvwxyz0123456789abcdefghijklmnopqrstuvwxyz.txt
Expected
I expect to see one
.lng
file in a newly created doubly nested folder.Actual
I actually saw three
.lng
files in three newly created doubly nested folders.Terminal Log
Note
This is a really undesirable behavior. I encountered this issue while copying a long list of files with long file names in to a vault. Each file with long file name copied into a vault yields six metadata folders and three metadata
.lng
files. This is many more files and folders than described in the documentation. My reading ofcryptofs
's source code indicates the bug originates here:https://github.com/cryptomator/cryptofs/blob/b29c89b43e75c044b0d5969c8fe58cae1e6c26b6/src/main/java/org/cryptomator/cryptofs/CryptoPathMapper.java#L81-L103
For every file with long file name that gets accessed, created, copied, or moved,
cryptofs
creates three.lng
metadata files because the code attempts to check if that file name is a directory, a symlink, or a file.