mirror of
https://github.com/kasmtech/workspaces-core-images.git
synced 2025-02-16 17:10:49 +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
|
set -e
|
||||||
|
|
||||||
mkdir -p /opt/kasm/recordings
|
mkdir -p /opt/kasm/recordings
|
||||||
sudo chown kasm-recorder:kasm-recorder /opt/kasm/recordings
|
chown kasm-recorder:kasm-recorder /opt/kasm/recordings
|
||||||
sudo chmod 700 /opt/kasm/recordings
|
chmod 700 /opt/kasm/recordings
|
||||||
|
|
||||||
# wait until X display is avaiable and allow the recorder to connect to it
|
# wait until X display is avaiable and allow the recorder to connect to it
|
||||||
while ! xhost +SI:localuser:kasm-recorder 2>/dev/null; do
|
while ! xhost +SI:localuser:kasm-recorder 2>/dev/null; do
|
||||||
|
Loading…
Reference in New Issue
Block a user