1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/invoiceninja5_ynh.git synced 2024-09-03 19:26:23 +02:00

Merge pull request #287 from CodeShakingSheep/fix-.env-permissions

Fix .env permissions (marked in health check)
This commit is contained in:
eric_G 2024-08-04 18:35:28 +02:00 committed by GitHub
commit 350c1bea32
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -58,7 +58,7 @@ ynh_script_progression --message="Modifying a config file..." --weight=1
ynh_add_config --template="default.env" --destination="$install_dir/.env" 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" chown $app:$app "$install_dir/.env"
#================================================= #=================================================

View file

@ -69,7 +69,7 @@ then
ynh_add_config --template="default.env" --destination="$install_dir/.env" 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" chown $app:$app "$install_dir/.env"
fi fi