1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/backdrop_ynh.git synced 2024-09-03 20:36:14 +02:00
This commit is contained in:
ericgaspar 2021-03-25 09:08:22 +01:00
parent 9ce684dcf9
commit a62ce1eff4
No known key found for this signature in database
GPG key ID: 574F281483054D44
3 changed files with 3 additions and 6 deletions

View file

@ -111,8 +111,7 @@ ynh_store_file_checksum --file="$final_path/settings.php"
#================================================= #=================================================
# Set permissions to app files # Set permissions to app files
chown -R $app: $final_path chown -R root: $final_path
chmod o-rwx $final_path
chown -R $app:www-data $final_path/files chown -R $app:www-data $final_path/files
chmod -R 770 $final_path/files chmod -R 770 $final_path/files

View file

@ -66,8 +66,7 @@ ynh_restore_file --origin_path="$final_path"
#================================================= #=================================================
# Set permissions to app files # Set permissions to app files
chown -R $app: $final_path chown -R root: $final_path
chmod o-rwx $final_path
chown -R $app:www-data $final_path/files chown -R $app:www-data $final_path/files
chmod -R 770 $final_path/files chmod -R 770 $final_path/files

View file

@ -140,8 +140,7 @@ fi
#================================================= #=================================================
# Set permissions to app files # Set permissions to app files
chown -R $app: $final_path chown -R root: $final_path
chmod o-rwx $final_path
chown -R $app:www-data $final_path/files chown -R $app:www-data $final_path/files
chmod -R 770 $final_path/files chmod -R 770 $final_path/files