mirror of
https://github.com/kasmtech/workspaces-core-images.git
synced 2024-11-21 23:13:08 +01:00
KASM-5419 Don't use sudo as we already run as root
This commit is contained in:
parent
79cd2ab334
commit
5dc27023a5
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user