KASM-5419 Don't use sudo as we already run as root

This commit is contained in:
Ian Tangney
2024-01-10 17:00:19 +00:00
parent 79cd2ab334
commit 5dc27023a5

View File

@ -2,8 +2,8 @@
set -e
mkdir -p /opt/kasm/recordings
sudo chown kasm-recorder:kasm-recorder /opt/kasm/recordings
sudo chmod 700 /opt/kasm/recordings
chown kasm-recorder:kasm-recorder /opt/kasm/recordings
chmod 700 /opt/kasm/recordings
# wait until X display is avaiable and allow the recorder to connect to it
while ! xhost +SI:localuser:kasm-recorder 2>/dev/null; do