Sample Header Ad - 728x90

ecryptfs: ls lists top level folders but with "no such file or directory" for them

2 votes
1 answer
154 views
I've managed to mount "old" ecryptfs home folder with sudo mount -t ecryptfs [SRC DIR] [DST DIR]. It was failing for ecryptfs-recover-private with mount: No such file or directory and with setreuid: Operation not permitted for strace --follow-forks -o file.log ecryptfs-recover-private. BTW, why different error for --follow-forks? Maybe worth separate question about strace. Anyway it mounted but ls [DST DIR] lists files and folders that look as correct home folder, but with ? and "cannot access ... no such file or directory". What could be the problem? With web search I've managed to find QAs for mount issue. https://askubuntu.com/questions/1074753/ecryptfs-mount-private-failure-in-ubuntu-18-04-mount-no-such-file-or-directory ; https://askubuntu.com/questions/1126981/ecryptfs-mount-no-such-file-or-directory ; https://unix.stackexchange.com/questions/285541/mount-no-such-file-or-directory-with-encrypted-recovery ; https://unix.stackexchange.com/questions/493931/ecryptfs-mount-private-returns-fopen-no-such-file-or-directory Closest to mine is https://unix.stackexchange.com/questions/314255/ecryptfs-mounting-failure-from-kernel-4-7-onwards with also ? for ls, but it is from 2016 and answer is for kernel change for plaintext+encrypted names change, my encrypted home folder is from 2021. BTW I've tried mount both plaintext passthrough y and n.
Asked by Alex Martian (1287 rep)
Jan 1, 2024, 10:45 AM
Last activity: Jan 3, 2024, 02:19 AM