I want to be able to update a certain svn working copy remotely through php. For that, I have given www-data user write permission to the .svn folder (It is owned by someuser:www-data, and I have set directory permissions to 775).
However, after sometime, permissions on the directory automatically get reverted back to 755.
1) What is causing this and how to fix this?
2) I am bit uncomfortable giving www-data user write permissions to the directory. Is there an alternate way?