1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/pixelfed_ynh.git synced 2024-09-03 20:06:04 +02:00

Fix .env permission (admin panel access to the config file)

This commit is contained in:
lapineige 2022-04-17 17:00:25 +02:00 committed by GitHub
parent 6e2f4d8927
commit 695f1059b4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -163,6 +163,9 @@ fi
chmod 750 "$final_path"
chmod -R o-rwx "$final_path"
chown -R $app:www-data "$final_path"
# Pixelfed app should be able to edit its settings from the admin panel
chmod 600 "$final_path"/.env
#=================================================
# NGINX CONFIGURATION