I don't think he was *logged in* as root, (correct me if I have it
wrong, Harry). I think he had switched his working directory to the
*file system* root, then executed "sudo rm ..."
It always seems that somewhere in the make/build/install process,
commands need to be executed with elevated privileges. For example,
the default install location is /usr/local/Application/Hugin.app.
But /usr is owned by root. So "make install" fails at some point and
I had to use "sudo make install."
Now, to delete the files created there I'm going to have to "sudo
rm ..." Aren't I? Or am I going about things the wrong way?
I think one could redefine "rm" so that it wouldn't work from the file
system root, or maybe warn you how many files you were about to
destroy. Or something. Does anyone have "safety precautions" other
than being very very careful?
eo
On Jul 25, 2010, at 2:30 PM, Kornel Benko wrote:
Am Sonntag 25 Juli 2010 schrieb Harry van der Wolf:
...
I decided that I could get rid of it, so I did,* from root /*, a
"sudo rm
-rf *"
Every one has to do it once in his live. This is the hard way to
learn, not to work as root.
I did it. I know others.
...
(At least my backup infrastructure works great :-) )
Lucky you :)
Harry
Kornel
--
Kornel Benko
[email protected]
--
You received this message because you are subscribed to the Google Groups "Hugin and
other free panoramic software" group.
A list of frequently asked questions is available at:
http://wiki.panotools.org/Hugin_FAQ
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at http://groups.google.com/group/hugin-ptx