I've an issue with files ownerships.
I have a drupal website and the "files" folder needs to be owned by "www-data" in order to let the users to upload files with php.
However I'm now using svn and I need all folders and files to be own by "svnuser" in order to work.
So now, I guess I need to add both users to a group with proper permissions. I'm not sure what exactly to do, could you tell me what are the exact necessary steps?
thanks
There is also a group called
www-data
. The files you have in your webroot should all belong to that group and have write-right for the group. Assuming your webroot is/var/www
you can do this by executing (as root or by usingsudo
)Is this link helpful? Geek Thoughts