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:
parent
7a4833633f
commit
6e2f4d8927
1 changed files with 2 additions and 0 deletions
|
@ -100,6 +100,8 @@ ynh_setup_source --dest_dir="$final_path"
|
||||||
chmod 750 "$final_path"
|
chmod 750 "$final_path"
|
||||||
chmod -R o-rwx "$final_path"
|
chmod -R o-rwx "$final_path"
|
||||||
chown -R $app:www-data "$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
|
# NGINX CONFIGURATION
|
||||||
|
|
Loading…
Add table
Reference in a new issue