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

Re: Subversion setup

From: Dave Pawson <dave.pawson_at_gmail.com>
Date: Wed, 19 Jan 2011 18:53:24 +0000

> Did you import the initial repository content as local root, using
> a "file://" URL?  In that case, some files inside the "db" directory
> would now be owned by root.

The only way I could import into the repo was as root.

>
> I'd double-check the permissions on the following dirs & files.
>
>  /etc/svnauthfile (just in case)

No, I think you've got it there Steve :-)
I ran htpasswd as root, so the file will be owned by root.

>
>  /srv
>  /srv/files
>  /srv/files/db
>  /srv/files/db/txn-current-lock

After creating them I ran
#chown -R apache:apache /srv
so they should be OK

>
> Also, are ACLs in effect?  SELinux, for example, can block Apache.

<grin/> No, more than that, it can block me from
using my computer!
I switch it off as part of my initial setup! Horrible thing.

I'll let you know, but I think you have found the problem.

Many thanks.

-- 
Dave Pawson
XSLT XSL-FO FAQ.
Docbook FAQ.
http://www.dpawson.co.uk
Received on 2011-01-19 19:54:04 CET

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.