Emmanuele Bassi (:ebassi) <> changed:

           What    |Removed                     |Added
                 CC|                            |

--- Comment #2 from Emmanuele Bassi (:ebassi) <> ---
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

Reply via email to