file name too long when creating new file (ecryptfs_lookup: lookup_one_len() returned [-36] on lower_dentry) still exists
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
eCryptfs |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I still problem from bug #344878 even though it is marked as fixed.
Had problem downloading torrents with long file names in Tranmission. But it isn't a problem with transmission.
Reproduce:
- cd to folder in encryptet home
$ vi test.txt
$ mv test.txt 111111111222222
expected result:
file should be renamed to new name (~200 letters)
real result:
mv: accessing `11111111122222
uname:
Linux Desertbase4 3.2.0-25-generic #40-Ubuntu SMP Wed May 23 20:30:51 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
Ubuntu:
12.04 up2date (Upgrade from 11.10)
Thanks for using eCryptfs!
This is not a bug. eCryptfs can only store filenames of 143 characters when mounted on top of filesystems that support 255 character filenames. This is due to encryption and metadata overhead. eCryptfs is working as designed in your description.