By using AWS re:Post, you agree to the AWS re:Post Terms of Use

Lightsail/Wordpress instance: Changing file permissions for Wordpress

0

Developer asked me for the following:

Please allow the read and write permission to theme folder for access. /bitnami/wordpress/wp-content/themes/Divi/archive-hall_of_fames.php: open for write: permission denied

How do I change this via the command line?

asked 10 months ago374 views
1 Answer
0

Hello.

Is it possible to connect to Lightsail with SSH?
Please check the following document for information on how to connect to Lightsail with SSH.
https://lightsail.aws.amazon.com/ls/docs/en_us/articles/lightsail-how-to-connect-to-your-instance-virtual-private-server https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-ssh-using-terminal

Once the connection is established, try running the following command.
You can grant read permission to the file "archive-hall_of_fames.php" by executing the following command.
If you do not have enough privileges, you can give them privileges by changing the number in the "775" part.
https://nxmnpg.lemoda.net/1/chmod

sudo chmod 775 /bitnami/wordpress/wp-content/messages/Divi/archive-hall_of_fames.php
profile picture
EXPERT
answered 10 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions