From 01d894a4acfed464a1576d9dac9dbe43fec113ac Mon Sep 17 00:00:00 2001 From: tituspijean Date: Sun, 22 May 2022 21:15:41 +0200 Subject: [PATCH] Remove setfacl attempts to fix permissions --- scripts/install | 2 -- scripts/restore | 2 -- scripts/upgrade | 2 -- 3 files changed, 6 deletions(-) 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