Why does this work as root?
# touch test1 # chmod 000 ./test1 # echo "test" > ./test1
I take it root is not affected by file permissions?
This has the answer.
Root has rw on all files. You can mark a file immutable with
removing that is