2
1
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?
>
Cannot run svn update because it (svn update) needs to create .svn/lock file (for which www-data does not have permission) – tanon – 2011-08-31T07:47:56.317