Mess with files that you are not allowed to touch
Hi,
It never occurs to me that I am able to mess with
files that I'm not allowed
to touch, but watch this:
$ echo good > safe
$ chmod a-w safe
$ cat safe
good
$ ln safe unsafe
$ chmod a+w unsafe
$ echo bad > unsafe
$ cat safe
bad
I.e., I am able to change the content of the file that
is read only to me.
So, I am start to wondering, what mechanism will
prevent me from doing
something more bad to this, e.g., change system files
that I'm not allowed
to touch?
thank
____________________________________________________________________________________
Any questions? Get answers on any topic at www.Answers.yahoo.com. Try it now.
Reply to: