From 92f977211ea8612561b78d056c563283656f7b3b Mon Sep 17 00:00:00 2001 From: Artyom Anokhov Date: Thu, 12 Nov 2020 19:35:19 +0300 Subject: [PATCH] install_NEO_OCL_driver: Added user to render group. (#3099) --- scripts/install_dependencies/install_NEO_OCL_driver.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/install_dependencies/install_NEO_OCL_driver.sh b/scripts/install_dependencies/install_NEO_OCL_driver.sh index 7569eb031fb..76d64a61062 100755 --- a/scripts/install_dependencies/install_NEO_OCL_driver.sh +++ b/scripts/install_dependencies/install_NEO_OCL_driver.sh @@ -326,6 +326,11 @@ add_user_to_video_group() if [[ $? -ne 0 ]]; then echo "WARNING: unable to add $real_user to the video group" >&2 fi + echo "Adding $real_user to the render group..." + usermod -a -G render "$real_user" + if [[ $? -ne 0 ]]; then + echo "WARNING: unable to add $real_user to the render group" >&2 + fi } _check_distro_version()