diff --git a/scripts/install b/scripts/install index 64fd183..743c885 100644 --- a/scripts/install +++ b/scripts/install @@ -246,8 +246,6 @@ ynh_store_file_checksum --file="$final_path/wp-config.php" chmod 400 "$final_path/wp-config.php" chown $app:$app "$final_path/wp-config.php" -# We do not want www-data to get access to this file through the ACLs -setfacl -b "$final_path/wp-config.php" #================================================= # CREATE A CRON TASK FOR AUTOMATIC UPDATE diff --git a/scripts/restore b/scripts/restore index 9ea31b9..f9ee58f 100644 --- a/scripts/restore +++ b/scripts/restore @@ -83,8 +83,6 @@ chmod g+s $(find $final_path/wp-content/uploads -type d) chmod 400 "$final_path/wp-config.php" chown $app:$app "$final_path/wp-config.php" -# We do not want www-data to get access to this file through the ACLs -setfacl -b "$final_path/wp-config.php" #================================================= # RESTORE THE PHP-FPM CONFIGURATION diff --git a/scripts/upgrade b/scripts/upgrade index 65d31c8..0e7a5e0 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -295,8 +295,6 @@ ynh_store_file_checksum --file="$final_path/wp-config.php" chmod 400 "$final_path/wp-config.php" chown $app:$app "$final_path/wp-config.php" -# We do not want www-data to get access to this file through the ACLs -setfacl -b "$final_path/wp-config.php" #================================================= # CREATE A CRON TASK FOR AUTOMATIC UPDATE