Merge pull request #287 from CodeShakingSheep/fix-.env-permissions
Fix .env permissions (marked in health check)
This commit is contained in:
+1
-1
@@ -58,7 +58,7 @@ ynh_script_progression --message="Modifying a config file..." --weight=1
|
||||
|
||||
ynh_add_config --template="default.env" --destination="$install_dir/.env"
|
||||
|
||||
chmod 400 "$install_dir/.env"
|
||||
chmod 600 "$install_dir/.env"
|
||||
chown $app:$app "$install_dir/.env"
|
||||
|
||||
#=================================================
|
||||
|
||||
+1
-1
@@ -69,7 +69,7 @@ then
|
||||
|
||||
ynh_add_config --template="default.env" --destination="$install_dir/.env"
|
||||
|
||||
chmod 400 "$install_dir/.env"
|
||||
chmod 600 "$install_dir/.env"
|
||||
chown $app:$app "$install_dir/.env"
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user