LoginSignup
1
1

More than 3 years have passed since last update.

LightsailのWordpressファイルを読み書きする

Posted at

所有者を変更する

chownを使う。

$ sudo chown -R bitnami /opt/bitnami/apps/wordpress

ユーザー名がbitnamiなのは、Lightsailのインスタンスのユーザー名から。それに合わせて所有者をリライトするとファイルを読み書きできるようになる。

MISC

ちなみにWordpressのファイル構造は大体こんな感じ。

/opt/bitnami/apps/wordpress
|-- bin 
|-- conf //htaccessやVirtualhost、prefixなどの設定ファイル
|-- htdoc //wordpressの本体ファイル
|-- licences 
`-- tmp

See Also

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1