Comment 1 for bug 1740691

Bougron (francis-bougron) wrote :

Hello

It seems to me that line 45 of the script is mis-coded because of its return:

root@u16042:~# ecryptfs-recover-private
INFO: Searching for encrypted private directories (this might take a while)...
find: «/run/user/1000/gvfs»: Permission non accordée
root@u16042:~#

 I think the error message causes the script to end prematurely.

I suggest looking only in the most likely directories.

 dirs=$(find /mnt /home /media /tmp -type d -name ".Private" )

Regards.