Thanks for the report!
I confirmed that I can reproduce this issue on my Noble machine, and
that the proposed fix resolves it. (tested with this PPA:
https://launchpad.net/~mitchellaugustin/+archive/ubuntu/screen-
resolution-extra-test/+packages)
I prepared the PRs and tagged ubuntu-sponsors for review/upload.
** Description changed:
+ 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
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2090974
Title:
nvidia-polkit not executable
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/screen-resolution-extra/+bug/2090974/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs