Understand WordPress Filesystem Permissions

 https://docs.bitnami.com/google/apps/wordpress/administration/understand-file-permissions/

Bitnami applies the following default permissions to WordPress files and directories:

  • Files and directories are owned by user bitnami and group daemon.
  • Directories are configured with permissions 775 by default.
  • Files are configured with permissions 664 by default.
  • The wp-config.php file is configured with permissions 640.

If permissions are wrong, use the chmod or chown commands to restore them to their initial state. For example, if TARGET is the WordPress application folder:

sudo chown -R bitnami:daemon TARGET
sudo find TARGET -type d -exec chmod 775 {} \;
sudo find TARGET -type f -exec chmod 664 {} \;
sudo chmod 640 TARGET/wp-config.php

Watch the following video to learn more:

Không có nhận xét nào:

Cold Turkey Blocker

 https://superuser.com/questions/1366153/how-to-get-rid-of-cold-turkey-website-blocker-get-around-the-block Very old question, but still wan...