1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/framaforms_ynh.git synced 2024-09-03 18:36:12 +02:00

fix restore

This commit is contained in:
yalh76 2019-08-05 03:11:07 +02:00 committed by ljf (zamentur)
parent 67fe8be48d
commit b1c93647a2

View file

@ -67,8 +67,10 @@ ynh_restore
# Restore permissions on app files # Restore permissions on app files
chown -R root: $final_path chown -R root: $final_path
chmod 2775 "$final_path/sites/default/files" chmod 2775 "$final_path/sites/default/files"
chown -R $app: "${final_path}_private"
chmod 775 "${final_path}_private" mkdir -p "/home/yunohost.app/$app/data"
chown -R $app: "/home/yunohost.app/$app/data"
chmod 775 "/home/yunohost.app/$app/data"
#================================================= #=================================================
# SPECIFIC RESTORATION # SPECIFIC RESTORATION