debcrafters-packages team mailing list archive
-
debcrafters-packages team
-
Mailing list archive
-
Message #05055
[Bug 2090974] Re: nvidia-polkit not executable
** Merge proposal linked:
https://code.launchpad.net/~mitchellaugustin/ubuntu/+source/screen-resolution-extra/+git/screen-resolution-extra/+merge/490417
** Merge proposal linked:
https://code.launchpad.net/~mitchellaugustin/ubuntu/+source/screen-resolution-extra/+git/screen-resolution-extra/+merge/490418
** Merge proposal linked:
https://code.launchpad.net/~mitchellaugustin/ubuntu/+source/screen-resolution-extra/+git/screen-resolution-extra/+merge/490419
** Merge proposal linked:
https://code.launchpad.net/~mitchellaugustin/ubuntu/+source/screen-resolution-extra/+git/screen-resolution-extra/+merge/490420
--
You received this bug notification because you are a member of
Debcrafters packages, which is subscribed to screen-resolution-extra in
Ubuntu.
https://bugs.launchpad.net/bugs/2090974
Title:
nvidia-polkit not executable
Status in screen-resolution-extra package in Ubuntu:
In Progress
Bug description:
SRU Justification:
[ Impact ]
Users cannot save their X configuration files from nvidia-settings due
to the called script not being marked executable
[ Test Plan ]
1. Run nvidia-settings
2. Go to the X Server Display Configuration page
3. Select a monitor in the layout and make any settings change to it using the controls below
4. Click the "Save to X Configuration File" button
5. On the "Save X Configuration" popup, click Save6
6. The polkit auth prompt will pop up. Authenticated
Expected / working:
It works -- the xorg.conf file you specified is saved and you return to the nvidia-settings window without incident
Actual / failing:
It errors with "Unable to open X config file '{file you specified}' for writing.'
[ Fix ]
Set nvidia-polkit's mode to executable
[ Where problems could occur ]
Unlikely to cause a regression unless there is some caller that
depends on nvidia-polkit *not* being executable
[ Original bug report from rakslice ]
I'm running version 0.18.3 of the package in 24.04 (noble).
The package does not set nvidia-polkit executable, so the nvidia-settings app fails to save xorg.conf changes with a misleading error message.
Clearly it is a python script, and simply setting it executable fixes the problem:
sudo chmod +x /usr/share/screen-resolution-extra/nvidia-polkit
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/screen-resolution-extra/+bug/2090974/+subscriptions