File permissions on Unix like operating systems
I created a file using “touch test”, then changed the file permission using “chmod 000 test”, then did “vi test”, wrote random characters, I was successfully able to save the file using “:wq!”. I’m the owner of the file but how am I able to write after changing the permissions of the file to 000?