1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/radicale_ynh.git synced 2024-09-03 20:16:14 +02:00

Update upgrade

/var/www/radicale/regex.py doesn't exist!
Fix chmod 2755 > chmod 755
Removed chmod 777
This commit is contained in:
jarod5001 2022-04-16 01:34:39 +01:00 committed by GitHub
parent f227beb982
commit e1e45e69c2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -171,7 +171,7 @@ chmod -R o-rwx "$final_path"
chown -R $app:www-data "$final_path"
chmod 666 -R $final_path/default_collections
chmod 777 $final_path/default_collections $final_path/default_collections/USER
chmod 755 $final_path/default_collections $final_path/default_collections/USER
#=================================================
# NGINX CONFIGURATION
@ -238,11 +238,11 @@ then
set -u;
# regex.py file is patched to fix the awful commit e807c3d35bea9cfcfcacac83b1b17d748ea15a39 that stop the reading of "rights" file after the first match.
mv "$final_path/regex.py" /opt/yunohost/$app/lib/python*/site-packages/radicale/rights/regex.py
# mv "$final_path/regex.py" /opt/yunohost/$app/lib/python*/site-packages/radicale/rights/regex.py
fi
chown radicale: -R /opt/yunohost/$app
find /opt/yunohost/$app/ -type d -exec chmod 2755 {} \;
find /opt/yunohost/$app/ -type d -exec chmod 755 {} \;
find /opt/yunohost/$app/ -type f -exec chmod g+r,o+r {} \;
#=================================================