简体   繁体   中英

No permissions to upload files after installing Wordpress on EC2 - Amazon Tutorial

quite a noob here. Was just able to install a Wordpress following this Amazon tutorial:

Tutorial: Hosting a WordPress Blog with Amazon EC2

The thing is, that I cant upload any images. Actually the error I get is:

Cant create "Upload" directory. Does the parent directory have persmission?

(not exactly these words as my wp is in portuguese)

I can do everything via FTP (that I installed using this tutorial: The White Way - How to set up WordPress on Amazon EC2 ) .

What I'm trying to learn: How can I change permissions so that I may upload/create files and folders via Wordpress?

Thanks a lot!

Solution: OK guys what worked for me was: set wp-content and recursively all subfolders and files to permission 777: then I was able to upload. After that I went back to 755 and it continued functioning.

Make sure your wp-content folder has a 755 permission so that wordpress can create an upload directory inside Wp-content folder. You should be able to change the permission of WP-content through FTP.

hmm usually the 755 permission should fix the issue. Maybe check out that folders inside wp-content have also a 755 permission. If this doesn't fix the problem, create a folder called 'uploads' under wp-content and make sure this folder has also a 755 permission.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM