On Wednesday, May 04, 2011 10:49 PM +0200 Kai Schaetzl maillists@conactive.com wrote:
b) have all php files owned by a user and the write area writable by apache but owned by the user (*)
(*) this doesn't work if you create subdirectories because they get the wrong permissions and apache can't pass thru
Make the writable directories SGID and any files and subdirectories created there will inherit the group ownership: