https://bugzilla.gnome.org/show_bug.cgi?id=772875
Emmanuele Bassi (:ebassi) <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]
--- Comment #2 from Emmanuele Bassi (:ebassi) <[email protected]> ---
To further elaborate: the appropriate way to run gedit with sudo is:
set EDITOR=gedit
sudo -e /etc/some/file/owned/by/root
which will run gedit in your session, on a temporary file, and then sudo will
swap the temporary file with the target.
If you want to just browse files, GVFS now has an 'admin:' URI scheme which
will let you open files via appropriate privilege escalation through polkit.
In short: there is no reason whatsoever to run a GUI application — with its
unknown security surface, using various dependencies at build and run time,
themselves with unknown security surface — as root.
--
You are receiving this mail because:
You are on the CC list for the bug._______________________________________________
wayland-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/wayland-bugs