Either one can make your system unstable. The difference is that
> sudo cp myLogo.svg /usr/local/share/darktable/watermarks
does one thing then exits the SU privileged command, (sorta), whereas,
> {RMB-Click} → {Open as Administrator} → {DnD}
leaves a client window open with SU privileges, (if not closed when one is
done)
Even at the CLI, unless one does [ $exit {ENTER} ] after, someone can come
along within 15 minutes and do any sudo command in the terminal without
having to enter a password. (Even the Nautilus window will request a
password again after 15 minutes of inactivity).
What one ought not do, is
sudo My-GUI-Application
at the CLI, but perhaps,
gksudo My-GUI-Application
a safer alternative, which has been removed from the most recent Ubuntu
flavours, anyway.
What I suggested is no more dangerous than the CLI method. Any use of
elevated privileges is a security risk, to some extent, and can hose a
system by a simple mistyped path/command.
Sincerely,
Karim Hosein
Top Rock Photography
754.999.1652
On Sat, 3 Oct 2020 at 12:24, Jean-Luc CECCOLI <[email protected]>
wrote:
>
> Patrick and jys gave you the path, however I think useful to warn you
> against the temptation of sudo nautilus (or whatever filemanager you use).
> This is the thing not to do if you do not want your system to become
> unstable.
> If you really need to copy files to a system area, then sudo cp them from
> cli.
>
____________________________________________________________________________
darktable user mailing list
to unsubscribe send a mail to [email protected]