I guess I must have an evil vi on all of my machines, because I've been
doing this for some time (using ":w!" to override read-only permission 
when I own the file).

-Steve

-----Original Message-----
From: Cameron Simpson [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 30, 2003 9:46 PM
To: [EMAIL PROTECTED]
Subject: Re: touch modifies read-only files


| try, e.g. vi a read-only file by the user, then try to save it, it
| will say it's read only, then save it with :w! it will happily override
| it.

Not so.

Unless your vi (vim probably) is doing evil things like unlinking the
old file and making a new one, the above does not work.



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to