Re: Mess with files that you are not allowed to touch

2007-02-02 Thread Bob McGowan
Tong Sun wrote: 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 t

Mess with files that you are not allowed to touch

2007-02-02 Thread Tong Sun
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 re