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

Re: Checkout sets wrong user

From: Ryan Schmidt <subversion-2006d_at_ryandesign.com>
Date: 2006-10-19 19:13:03 CEST

On Oct 19, 2006, at 05:51, Elise van Looij wrote:

> 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.

I can't think of a good reason why that should be so.

> 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 tried a similar command on my Mac (also OS X 10.4, also svn 1.4 via
MacPorts) and the ownership is set correctly.

In your Terminal, you're not by chance logged in as root? You haven't
used "su -" or "sudo -s" to become root, have you? If you had, then
if you were to check out, the files would be owned by root, not your

> 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.

I don't think it can have anything to do with the server
configuration. This is a client-side issue.

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Oct 19 19:14:02 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.