I had to reset my server for some reasons. Before doing that I wanted to archive the letsEncrypt directory (full including all subdirectories) to my local machine. Because it did not have the requisite permissions to apply the
scp command, I changed the permissions to
777 for all files … Yes, I know .
Now I have set up my server and was able to renew the old certificate. However, I would like to set the permissions back to what they were.
Can anyone help me with that information. I guess they will be different for different subdirectories and the files in them.