Beco <r...@beco.cc> writes: > Dear users, > > I'm astonished by this (maybe I'm naive and I'm missing something). > > Yesterday as root I saved a file skel.bashrc in my /home/beco user, owned by > root, group root. > > Today I edited it, logged as beco, and vi told me "warning, read only!". I > edited anyway, just to test, and saved with :w! > > After that I checked the file and it has changed to owner beco, group beco. > > How is that possible?
You have write permission to the directory, so you can delete the file and create a new one, with yourself as the owner. That is, essentially, what vi is doing. -- Joe Riel -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/87bo82czos....@san.rr.com