So I wanted to transfer my entire website from one domain to another and when I moved the files I notice that all the folders permission changed from 755 to 777. I tried it with another domain and saw the same issue. Is there something i can do to stop this from happening every time I want to copy files from one domain to another?
How do you copy the files?
I zip the contents of public_html folder, then download it to my PC, then I go to the new domain and upload the zip file, unzip it to the public_html folder of the new domain.
then permissions should stay the same, how do you unzip? Command line?
No in the hestiacp file manager there is an unzip option
Could you please show the output of this command (replace archive.zip with the actual zip name)?
Note: the command will only show info, it won’t extract the contents of the zip file.
unzip -Z archive.zip