1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/mautrix_signal_ynh.git synced 2024-09-03 19:46:07 +02:00

Fix sticker permissions during upgrade

This commit is contained in:
Mayeul Cantan 2021-08-20 12:42:35 +02:00
parent 19302af2e0
commit d27369c631

View file

@ -202,6 +202,9 @@ $final_path/bin/python3 -m mautrix_signal -g -c $mautrix_config_path -r $app_ser
chown -R root: $final_path chown -R root: $final_path
chown $mautrix_bridge_user:root -R $final_path chown $mautrix_bridge_user:root -R $final_path
# Fix possible permission issues with a previous signald version, esp. with stickers
chmod -R g+rwX /var/lib/signald/{avatars,attachments,stickers}
#================================================= #=================================================
# SETUP LOGROTATE # SETUP LOGROTATE
#================================================= #=================================================