Cleanup after Decryption


After decrypting all files, I noticed there’s still a /var/www/html/data/<username>/files_encryption folder for each user:

root@c9c6c5c84dfa:/var/www/html/data/<username>/files_encryption# ls -l
total 4
drwxr-xr-x 4 www-data www-data 4096 Sep  6 05:44 keys

root@c9c6c5c84dfa:/var/www/html/data/<username>/files_encryption# du -shc keys/
39M     keys/
39M     total

A couple questions I have are:

  • Is it safe to remove these folders since encryption is not being used any longer?
  • Did the files_encryption folder exist before encryption? I’d like to leave the original directory hierarchy intact.