Like theYinYeti pointed out, and from what I can see from your last reply
you are trying your operations as root. You have to know that on the machine root has every rights. That probably explains the reasons why root can create file into a non-writable folder. root says to the machine that it does not care if the folder allows to write, root wants to create a file in that folder.
You should try the same operation as a normal user.