From a9a9b5b83eee33e02928628eec526f4d9be16236 Mon Sep 17 00:00:00 2001 From: GuiLeme Date: Fri, 10 Feb 2023 16:55:28 -0300 Subject: [PATCH] [issue-16590] - Change ownership of logging dir --- akka-bbb-fsesl/src/debian/DEBIAN/postinst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/akka-bbb-fsesl/src/debian/DEBIAN/postinst b/akka-bbb-fsesl/src/debian/DEBIAN/postinst index 83db223d8e..f8a9aacd07 100644 --- a/akka-bbb-fsesl/src/debian/DEBIAN/postinst +++ b/akka-bbb-fsesl/src/debian/DEBIAN/postinst @@ -1,3 +1,4 @@ +#!/bin/sh # # Update ESL password to match the password from bbb-freeswitch-core, which is # listed as a package dependency to ensure that it configures first. @@ -8,3 +9,6 @@ ESL_PASSWORD=$(xmlstarlet sel -t -m 'configuration/settings/param[@name="passwor if [ -n "$ESL_PASSWORD" ]; then sed -i "s/ClueCon/$ESL_PASSWORD/g" /etc/bigbluebutton/bbb-fsesl-akka.conf fi + +# Change ownership of the logging directory +chown bigbluebutton:bigbluebutton '/var/log/bbb-fsesl-akka'