Corrupted directory - unable to delete

I’m running Cryptomator 1.13.0 with FUSE on Ubuntu 24.04.

When I run a build on a nodejs application, files and directories under the main directory ‘node_modules’ ends up in a strange state. I’m unable to delete these files, so I end up moving the entire directory to /Trash in the Cryptomator mount, where it remains forever. Even restarting won’t remove these files/directories.

~/Cryptomator/Trash/t> ls -al
ls: cannot access ‘node_modules’: No such file or directory
total 0M
drwxrwx— 1 work work 1M Jul 25 14:26 .
drwx------ 1 work work 1M Jul 25 14:26 …
??? ? ? ? ? ? node_modules
drwxrwx— 1 work work 4096 Jul 25 11:01 t2
drwxrwx— 1 work work 4096 Jul 23 13:15 t3

~/Cryptomator/Trash/t> rm -rf node_modules
rm: cannot remove ‘node_modules’: No such file or directory

$Cryptomator/Trash> rm -rf t
rm: cannot remove ‘t/t2’: Directory not empty
rm: cannot remove ‘t/t3’: Directory not empty

In the logs, I see entries like this:

14:26:14.322 [Thread-16] TRACE o.c.frontend.fuse.ReadOnlyAdapter - getattr /Trash/t3 (lastModifiedTime: 2024-07-23T03:15:21.375416068Z, lastAccessTime: 2024-07-25T04:25:19.932174298Z, creationTime: 2024-07-19T00:10:35.744522052Z, isRegularFile: false, isDirectory: true, isSymbolicLink: false, isOther: false, size: 4096, fileKey: (dev=10305,ino=8297629))
14:26:14.322 [Thread-17] TRACE o.c.frontend.fuse.ReadOnlyAdapter - getattr /Trash/t/t3 failed, node not found

Welcome to the Cryptomator Community :slightly_smiling_face:

If deleting a folder inside the unlocked vault fails, you can always just remove the encrypted folder at the vault storage location.

See After writing disk completely full, unremovable folder remains - #2 by infeo