From bbfe62ce486842918d2d92f80a095b6717aff308 Mon Sep 17 00:00:00 2001 From: Ark74 Date: Wed, 28 Apr 2021 10:55:26 -0500 Subject: [PATCH] Apply permissions explicitly Remove old unused lines --- quick_jibri_installer.sh | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/quick_jibri_installer.sh b/quick_jibri_installer.sh index 7e54b0f..eb3d09d 100644 --- a/quick_jibri_installer.sh +++ b/quick_jibri_installer.sh @@ -1146,22 +1146,11 @@ if [ "$DISABLE_LOCAL_JIBRI" = "yes" ]; then systemctl disable jibri-xorg systemctl disable jibri-icewm # Manually apply permissions since finalize_recording.sh won't be triggered under this server options. - sudo -u jibri bash /home/jibri/finalize_recording.sh + chmod -R 770 $RECORDINGS_DIR fi enable_letsencrypt -if [ "$ENABLE_SC" = "yes" ];then - echo "Waiting prosody restart to continue configuration, 15s..." - wait_seconds 15 -#Move mucs when using secure rooms - https://community.jitsi.org/t/27752/112 -#Change back - https://community.jitsi.org/t/64769/136 -#sed -i "s| lobby_muc = \"lobby.|-- lobby_muc = \"lobby.|" $PROSODY_FILE -#sed -i "s| main_muc = \"conference.|-- main_muc = \"conference.|" $PROSODY_FILE - sed -i "s| muc_lobby_whitelist = { \"recorder.*| muc_lobby_whitelist = { \"recorder.$DOMAIN\", \"auth.$DOMAIN\" }|" $PROSODY_FILE -#EO_TF -fi - # Fix prosody not able to read SSL Certs chown -R root:prosody /etc/prosody/certs/ chmod -R 650 /etc/prosody/certs/