[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Subversion: existing users

From: Andy Canfield <andy.canfield_at_pimco.mobi>
Date: Thu, 21 Jul 2011 17:12:55 +0700


I used root to create the /data/svn directory. Then, anticpiating
problems, I did a chmod to make it writable to all.

Later I ran svnadmin create /data/svn/sample and it created an entire
repository directory tree under /data/svn. I don't remember but I
probably ran it as root.

I just now noticed that /data/svn/sample and all the sub-directories and
files therein are owned by root and, usually, writable only by root.
This is probably going to cause problems for Apache / mod_dav_svn which,
of course, runs as the 'apache user' ("www-data") instead of root.

Where did I go wrong? The manual talks about commands but does not seem
to talk about what user is executing the command. Do I have to run
svnadmin as www-data? Is there a way to create a repository using my
Received on 2011-07-21 12:13:54 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.