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

Checkout sets wrong user

From: Elise van Looij <evlooij_at_xs4all.nl>
Date: 2006-10-19 12:51:53 CEST

I've recently installed Subversion 1.4 on Mac OS 10.4, using the
MacPorts installation. It took me a fair amount of trouble to get
everything working, but importing and checking out via HTTP goes well
now. One problem I now have is that when I check out a project (I use
XCode), the owner of the working copy is set to System and I am only
given read permissions.

The parent folder is under the root, i.e. /svn-repository and under
that I have various repositories, /svn-repository/project1, /svn-
repository/project2 etc. Because I approach the repositories via HTTP
I've done a chown -R www on svn-repository and on each of the
project folders.
According to the Finder, these are the permissions:
/svn-repository -- owner: www (read and write), group: admin
(read), others: read only
/svn-repository/project1 -- owner: www (read and write), group:
admin (read and write), others: read only

The checkout in itself goes fine:
/opt/local/bin/svn checkout http://localhost:8080/svn/project1/ /
Users/elisevanlooij/Documents/project1
But the permissions on the working copy are not so useful:
/Users/elisevanlooij/Documents/project1 --owner: system (read and
write), group: elisevanlooij (read only), others: read only

I can, of course, use the Finder to change the permissions but that
is a bit of a bother and the fact that I need to do that at all makes
me wonder whether there's a problem in the setup. The Apache2
httpd.conf I've configured as follows:

<Location /svn>
    DAV svn
    SVNParentPath /svn-repository
    SVNListParentPath on
    AuthType Basic
    AuthName "Subversion repository"
    AuthUserFile /etc/svn-auth-file
</Location>

I've not used the Require valid user tag because I'm the only user on
the system.

Elise van Looij
Received on Thu Oct 19 12:52:38 2006

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.