Public bug reported:

one cannot install drivers unless one is root (or has root priv
escalation via sudo).

For that reason, ubuntu-drivers should not run without a priv check.

ubuntu@doubletusk:~$ ubuntu-drivers --gpgpu autoinstall
This is gpgpu mode
E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: Permission 
denied)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are 
you root?


This shouldn't trigger the apt privilege error, ubuntu-drivers itself should 
check to see if it's running as root and then prompt the user.

** Affects: ubuntu-drivers-common (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1920225

Title:
  ubuntu-drivers should not run unless user is root

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-drivers-common/+bug/1920225/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to