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
Using encfs in reversewrite mode causing sync (yandexdisk) software to loop on reading directory when filename is very long.
Basically need to create:
touch "~/encfs/private/notes-html/Все об оперативной памяти — гайд и тесты в разных режимах работы _ Оперативная память _ Блог _ Клуб DNS.html"
then
encfs --reversewrite ~encfs ~/encrypted
sync software will stuck with fuse debug mode showing a lot of infinite messages "unique 3333333 opcode: READDIR nodeid:332134123" keep repeating this line forever. with 100% cpu load booth encfs and sync software.
The text was updated successfully, but these errors were encountered:
The filename "Все об оперативной памяти — гайд и тесты в разных режимах работы _ Оперативная память _ Блог _ Клуб DNS.html" has 187 bytes (to represent 108 characters)
On a test filesystem, that is encrypting for me as yYLTcxx6yMnhuFtoBxT6DPXeKVqAtAyRmy,4MY0QwvI5aPpaj82oJjM43tsPoaeWzYB2khNZautSEt-YvZthiajkz0XABALF33mXvAmzPqbWXKJ,,2DS9Qfevx,9ucGuMjqYo4h,oye3Ynsi90UkfhclkommJLETRMo-D5S,A4Wt6bu2PHNEl19Q3n7,jY2oT-mfoFRfFVT2VIfCZIpFZ0X--A8DK81b9Fx3NVOcfXn0l5H61E7e6dcR16,xp5X3s20
which is 260 characters. I suspect yandex is getting stuck when finding a filename with more than 255 bytes, which is the limit of most filesystems. Still, this is a bug in yandexdisk, not in encfs.
You can change filename encoding to stream, in which case it uses shorter filenames. For example this one becomes for me Wd,m6N2ffRQtmH8YZqrpPuxI142h3HCMMnEpGsk6gSiRI34JHgVSXUGy0LaQvR,Yg1WoTb6hdWLpGlq0boflrHpSmtvLbqwCGUNqaGPkYADq8Sr9S47nmoEMBfexUo9vMfsVTciAAEYPTvYqFj9fYTPwVmTRLYqTnvmCWuHzATZ4dYjU2MoMM75qU6Zm-p5bLBNeAEV6AAm3Me,5zwA62Xx,dCpUjZwmnoQWbJmx,h5quEJiql7RJM8y6djd, a "mere" 252 bytes.
Hello!
Using encfs in reversewrite mode causing sync (yandexdisk) software to loop on reading directory when filename is very long.
Basically need to create:
then
sync software will stuck with fuse debug mode showing a lot of infinite messages "unique 3333333 opcode: READDIR nodeid:332134123" keep repeating this line forever. with 100% cpu load booth encfs and sync software.
The text was updated successfully, but these errors were encountered: