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?

質問済み 3ヶ月前154ビュー
1回答
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
エキスパート
回答済み 3ヶ月前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ