install_NEO_OCL_driver: Added user to render group. (#3099)
authorArtyom Anokhov <artyom.anokhov@intel.com>
Thu, 12 Nov 2020 16:35:19 +0000 (19:35 +0300)
committerGitHub <noreply@github.com>
Thu, 12 Nov 2020 16:35:19 +0000 (19:35 +0300)
scripts/install_dependencies/install_NEO_OCL_driver.sh

index 7569eb0..76d64a6 100755 (executable)
@@ -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()