Public bug reported:
Despite being this similar to an old bug 1625119, which was on a now
unsupported release, I asked on #ubuntu whether I should go for a new
bug and was directed to file this as a new bug.
I have an Asus NVidia RTX 3060. I am running:
Description: Ubuntu 22.04.1 LTS
Release: 22.04
a supported release, and found a solution on that release.
I am using a fully patched system with nvidia-settings
510.47.03-0ubuntu1.
I expected, when running nvidia-settings as root, when I clicked on the
button to write out the settings I just configured to /etc/X11/xorg.conf
for that to work. It does not with permission denied.
The tools needs to be able to write /etc/X11/xorg.conf when root
requests it.
I tracked this down to a missing permission on /usr/share/screen-
resolution-extra/nvidia-polkit which had permissions 644 on my system.
The following change fixed this for me: chmod u+x
/usr/share/screen-resolution-extra/nvidia-polkit
I found many users online with similar issues in forums.
Please update the package to implement the equivalent and close this.
FYI end user configuration without root has improved significantly since
16.04 such that it would be reasonable in my honest opinion to also
close 1625119 as fixed in 22.04 once this is done. It is fixed as well
as security allows. It is reasonable from my point of view for security
reasons to need root to change such a critical file as
/etc/X11/xorg.conf.
** Affects: nvidia-settings (Ubuntu)
Importance: Undecided
Status: New
** Description changed:
- Despite this similar to an old bug 1625119 I asked on #ubuntu whether I
- should go for a new bug and was directed to file this as a new bug.
+ Despite being this similar to an old bug 1625119, which was on a now
+ unsupported release, I asked on #ubuntu whether I should go for a new
+ bug and was directed to file this as a new bug.
I have an Asus NVidia RTX 3060. I am running:
Description: Ubuntu 22.04.1 LTS
Release: 22.04
a supported release, and found a solution on that release.
I am using a fully patched system with nvidia-settings
510.47.03-0ubuntu1.
I expected, when running as root, when I clicked on the button to write
out the settings I just configured in nvidia-settings to
/etc/X11/xorg.conf for that to work. It does not with permission denied.
It needs to be able to write /etc/X11/xorg.conf when running as root when the
user requests it.
Attempting to run nvidia-settings as root it cannot write to that
configuration file.
I tracked this down to a missing permission on /usr/share/screen-
resolution-extra/nvidia-polkit which was 644 on my system.
The following change fixed this for me: chmod u+x
/usr/share/screen-resolution-extra/nvidia-polkit
I found many users online with similar issues in forums.
Please update the package to implement the equivalent and close this.
FYI end user configuration without root has improved significantly since
16.04 such that it would be reasonable in my honest opinion to close
1625119 as fixed in 22.04 once this is done. It is also reasonable from
my point of view for security reasons to need root to change such a
critical file as /etc/X11/xorg.conf.
** Description changed:
Despite being this similar to an old bug 1625119, which was on a now
unsupported release, I asked on #ubuntu whether I should go for a new
bug and was directed to file this as a new bug.
I have an Asus NVidia RTX 3060. I am running:
Description: Ubuntu 22.04.1 LTS
Release: 22.04
a supported release, and found a solution on that release.
I am using a fully patched system with nvidia-settings
510.47.03-0ubuntu1.
- I expected, when running as root, when I clicked on the button to write
- out the settings I just configured in nvidia-settings to
- /etc/X11/xorg.conf for that to work. It does not with permission denied.
+ I expected, when running nvidia-settings as root, when I clicked on the
+ button to write out the settings I just configured to /etc/X11/xorg.conf
+ for that to work. It does not with permission denied.
- It needs to be able to write /etc/X11/xorg.conf when running as root when the
user requests it.
- Attempting to run nvidia-settings as root it cannot write to that
configuration file.
+ The tools needs to be able to write /etc/X11/xorg.conf when root
+ requests it.
I tracked this down to a missing permission on /usr/share/screen-
- resolution-extra/nvidia-polkit which was 644 on my system.
+ resolution-extra/nvidia-polkit which had permissions 644 on my system.
The following change fixed this for me: chmod u+x
/usr/share/screen-resolution-extra/nvidia-polkit
I found many users online with similar issues in forums.
Please update the package to implement the equivalent and close this.
FYI end user configuration without root has improved significantly since
- 16.04 such that it would be reasonable in my honest opinion to close
- 1625119 as fixed in 22.04 once this is done. It is also reasonable from
- my point of view for security reasons to need root to change such a
- critical file as /etc/X11/xorg.conf.
+ 16.04 such that it would be reasonable in my honest opinion to also
+ close 1625119 as fixed in 22.04 once this is done. It is fixed as well
+ as security allows. It is reasonable from my point of view for security
+ reasons to need root to change such a critical file as
+ /etc/X11/xorg.conf.
--
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to nvidia-settings in Ubuntu.
https://bugs.launchpad.net/bugs/2003004
Title:
Cannot write X config due to missing u+x permissions on nvidia-polkit
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvidia-settings/+bug/2003004/+subscriptions
_______________________________________________
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : [email protected]
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help : https://help.launchpad.net/ListHelp