Skip to content

Commit 1ab9bfb

Browse files
committed
Fix for non-root users: allow writing dbus-uuidgen to /var/lib/dbus/machine-id
1 parent 8f077b0 commit 1ab9bfb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

install-dev-dependencies.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ elif type dnf >/dev/null ; then
4545
$SUDO_SHIM chmod 755 /usr/bin/chromedriver
4646
fi
4747
if [ ! -f /var/lib/dbus/machine-id ]; then
48-
dbus-uuidgen > /var/lib/dbus/machine-id
48+
$SUDO_SHIM sh -c 'dbus-uuidgen > /var/lib/dbus/machine-id'
4949
fi
5050
export PYCURL_SSL_LIBRARY=nss
5151
fi

0 commit comments

Comments
 (0)