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

Fix the other wildcard + reordering

This commit is contained in:
lapineige 2023-05-09 10:31:34 +02:00 committed by GitHub
parent 7c471bb6b8
commit a4c8867762
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -198,8 +198,8 @@ ynh_replace_string --match_string="'private' => 0700," --replace_string="'privat
# Repair permissions for files created after v0.11.5 and before this patch
if [ -d "$final_path/public/storage/m/_v2/" ]; then
chmod 750 -R "$final_path/public/storage/m/_v2/"* # all files subdirectories (picture folders) should be readable and executable. But if there is no picture, there is no /*/*
chmod 770 "$final_path/public/storage/m/_v2/"* # users folders should be 770
chmod 770 "$final_path/public/storage/m/_v2/" # this should be 770
chmod 770 "$final_path/public/storage/m/_v2/*" # users folders should be 770
fi
#=================================================