You don't have a selinux enabled operating system, by chance, or one with some other additional security services?
Update: much easier explanation: the files are stored as belonging to your user, not the web server's user id. | [reply] |
Setting the permission to 755 without changing the owner does not confer write privileges to anyone else.
Allowing write privileges to anyone else is DANGEROUS to the health of your web server.
If you must allow a web hosted procedure to modify a CSS file, create and edit a user file (ie: a CSS file stored in the user's directory) and design the application to override the appication defaults with this.
Many browsers will allow this to be done locally, research the target browser(s).
Again, do not allow users to modify system files, especially as part of a web application (I usually set permissions to 0555 and then override only as necessary). | [reply] |