mirror of
https://github.com/YunoHost-Apps/pixelfed_ynh.git
synced 2024-09-03 20:06:04 +02:00
fix chmod syntax + remove typo
This commit is contained in:
parent
fa8fd46fae
commit
68924109ba
1 changed files with 2 additions and 2 deletions
|
@ -152,7 +152,7 @@ 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
|
# Pixelfed app should be able to edit its settings from the admin panel
|
||||||
chmod -R 600 "$final_path"/.env
|
chmod 600 "$final_path"/.env
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# UPGRADE DEPENDENCIES
|
# UPGRADE DEPENDENCIES
|
||||||
|
@ -223,7 +223,7 @@ ynh_script_progression --message="Creating log file..." --weight=1
|
||||||
mkdir -p "/var/log/$app/"
|
mkdir -p "/var/log/$app/"
|
||||||
touch "/var/log/$app/${app}-horizon.log"
|
touch "/var/log/$app/${app}-horizon.log"
|
||||||
chown -R $app: "/var/log/$app/"
|
chown -R $app: "/var/log/$app/"
|
||||||
chmod 600 $app: "/var/log/$app/"
|
chmod -R 600 $app: "/var/log/$app/"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# UPGRADE THE CRON FILE
|
# UPGRADE THE CRON FILE
|
||||||
|
|
Loading…
Add table
Reference in a new issue