ecryptfs-utils not working properly with linux kernel 4.8.0-41-generic
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Confirmed
|
High
|
Unassigned |
Bug Description
UPDATE:
I think the problem only exists for unencrypted filenames that would previously pass (by default or) by passing the ecryptfs_
Unencrypted filenames work as expected on kernels <=4.4, but are inaccessable and listed as ???????? in kernels >=4.8.
Original report below:
--------
I have two systems that have a Dropbox folder synced. One of the subfolders contains sensitive data encrypted using ecryptfs. Both were running linux kernel 4.4.0-53-generic.
I have since upgraded one system to use linux kernel 4.8.0-41-generic. Now, the decrypted directory can no longer see groups and owners or read files. All permissions are replaced by questionmarks.
4.8.0-41-generic
$ ll
ls: cannot access 'Contracts': No such file or directory
ls: cannot access 'Documents': No such file or directory
ls: cannot access 'Work': No such file or directory
total 12K
drwxr-x--- 5 redsandro redsandro 4.0K Mar 31 15:54 ./
drwxr-xr-x 7 redsandro redsandro 4.0K Apr 13 13:24 ../
d????????? ? ? ? ? ? Contracts/
d????????? ? ? ? ? ? Documents/
d????????? ? ? ? ? ? Work/
The other machine still works fine.
4.4.0-53-generic:
$ ll
total 56K
drwxr-x--- 5 redsandro redsandro 12K Apr 4 16:11 ./
drwxr-xr-x 8 redsandro redsandro 4.0K Oct 18 13:25 ../
drwxr-xr-x 3 redsandro redsandro 4.0K Nov 2 18:50 Contracts/
drwxr-xr-x 11 redsandro redsandro 4.0K Mar 9 17:03 Documents/
drwxr-xr-x 3 redsandro redsandro 4.0K Mar 4 2013 Work/
For both machines:
$ apt version ecryptfs-utils
111-0ubuntu1.1
Changed in linux (Ubuntu): | |
status: | Expired → New |
Additional info.
Upgraded machine:
$ uname -a
Linux myLaptop 4.8.0-41-generic #44~16.04.1-Ubuntu SMP Fri Mar 3 17:11:16 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
Working machine:
$ uname -a
Linux myDesktop 4.4.0-53-generic #74-Ubuntu SMP Fri Dec 2 15:59:10 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux