>Why I am able to put some text into >some_file.txt with
>chmod 000 using vi editor and why i >can not do the same
I'm not exactly vi master or guru here but I think it's because you write vi
with :wq! command. If you write tried to write some_file.txt with :w instead,
vi would complaints "cannot wrote blablabla" and so on.
I assumed you wanted to write-protect your file from unauthorised tempering
attempt (either from you or other user) you can do that by changing ownership
of the file to other user's, most popular probably to root's. I don't think vi
can overwrite different owner's file unless permission flag's permit it.
Anthony M. Rasat
Manager - Technical, Network and Support Division
PT. Jawa Pos National Network
Graha Pena Jawa Pos Group Building, 5th floor
Jln. Raya Kebayoran Lama 12, Jakarta Barat 12210
email@example.com mailing list
To unsubscribe, send any mail to "[EMAIL PROTECTED]"