On 11/1/25 5:02 PM, Stephen Morris wrote:
On 10/31/25 5:59 PM, Michael D. Setzer II via users wrote:
Have generally used geany for editing lots of files with both regular
user and root user, but after upgrading a test machine it no longer
worked.
Running as regular user was fine, but runnings as root, would fail,
and would then mess up with regular user since it would create a
file .config/geany that was owned by root? Had to delete that file to
fix issue.
How is it failing?
How are you running it as root that it would create a config file in
the local user's home?
Why would you be running "geany" as the root user anyway?
I tested "sudo gedit" and it works fine, but of course I'm using
Wayland. If you're using X, you'll probably have to grant permissions.
If you are referring to permissions to use sudo, permissions do need
to be granted but that requirement is independent of whether you are
using Wayland or X.
No, I mean permissions for the root user to display on the user's X
server. It seems that at least for Gnome on Wayland, the permission
gets transferred automatically somehow.
e.g. "xhost +" (warning, very insecure if that matters)
Sorry, I understand what you meant now, but I'm using Wayland atm even
though I don't like it and I'm not aware of any additional permissions
having to be put in place to be able to use sudo (other than the user
being in the wheel group) in either Wayland or X11. I was using sudo
under X11 without any issues without having to put anything in place
other than the group membership and switching backwards and forwards
between Wayland and X11 had no impact.
regards,
BEGIN:VCARD
VERSION:4.0
N:Morris;Stephen;;;
FN:Steve
NICKNAME:Steve
EMAIL;PREF=1;TYPE=home:[email protected]
TZ:Australia/Melbourne
END:VCARD
--
_______________________________________________
users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it:
https://pagure.io/fedora-infrastructure/new_issue