On Tue, 27 Oct 2015, Clive Nicholas wrote:
Hello Helio,
Thanks for your friendly response!
If I use -sudo- in front of any of these commands, it's because I get stuff
like this in response:
clive@clivubu:~/gretl-git$ git commit
fatal: could not open '.git/COMMIT_EDITMSG': Permission denied
I have the feeling that you're not fully aware of the consequences of
"sudo-ing" commands.
https://xkcd.com/149/
What "sudo" does basically means "I'm not speaking to you now as
myself,
but as root, the omnipotent - and not necessarily benevolent - ruler of
this piece of hardware". This means that if you run something that writes
files onto your hard disk, then those files won't belong to you, but to
root, and of course when you go back to your humble and mortal self, those
files will be stubborn and refuse to submit to your will "Who are you? I
belong to root! You impertinent peasant! I'll have you flogged!"
This is why you should keep usage of sudo to an absolute minimum (or use
it all the time, which however sort of defeats the purpose).
-------------------------------------------------------
Riccardo (Jack) Lucchetti
Dipartimento di Scienze Economiche e Sociali (DiSES)
Università Politecnica delle Marche
(formerly known as Università di Ancona)
r.lucchetti(a)univpm.it
http://www2.econ.univpm.it/servizi/hpp/lucchetti
-------------------------------------------------------