Mobile app version of vmapp.org
Login or Join
Miguel251

: EC2 Folder Permissions on Amazon AWS This is first time I am setting up my Wordpress blog myself. Usually, I would purchase a GoDaddy account and be done with it. Now, I have bought a Amazon

@Miguel251

Posted in: #AmazonEc2 #Permissions

This is first time I am setting up my Wordpress blog myself. Usually, I would purchase a GoDaddy account and be done with it. Now, I have bought a Amazon AWS and setting up on EC2. I have finished my setup. My only question is what should be the folder permissions?
I have read that folder permissions are important as they are one of the reasons sites get hacked. So what permission should I set?

My file location are as follows: Currently html, wordpress and all files below is set with 777

/var/www/html/wordpress

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Miguel251

1 Comments

Sorted by latest first Latest Oldest Best

 

@Murray155

KD - Good question. You should set permission 755 for all directories. Make sure that never set 777 permission for any folder/files.

Also best thing is you set 755 for all word-press folders and 644 for all files.

More details of permission :

777 – all can read, write and execute

644 - owner can modify file and everyone can read file

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme