Quote:
Originally Posted by susan_cassidy
The Kindle processes will run as root, therefore, they can overwrite any file they want. You can't protect root from itself.
|
Have you ever tried saving a file on a linux machine in the same location where there is already a folder? Clearly not...
You'd have to know the folder might exist and make sure to clean up first.
But hey, try this out and see if you get a different result:
Code:
[eschwartz@arch /tmp]$ mkdir somedir
[eschwartz@arch /tmp]$ sudo bash -c "echo blah > somedir"
bash: somedir: Is a directory
[eschwartz@arch /tmp]$ sudo wget -O somedir www.google.com
somedir: Is a directory
I assure you, not only is it a very interesting PEBKAC-stlye error, it is also one currently used here to
great effect in blocking OTA updates.
tl;dr
no one ever suggested the goal was stopping the root user from overwriting a
file.