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

Re: Corrupt svn database on MacOSX

From: Travis P <svn_at_castle.fastmail.fm>
Date: 2004-08-26 00:05:03 CEST

On Aug 25, 2004, at 4:21 PM, D'Arcy Norman wrote:

> ... I had to run svnadmin as root, because the files are owned by the
> "www" user, which is a non-human user on MacOSX Server, so I don't
> have its password...

You don't need www's password. Just use sudo to do everything as www.
For example:
   sudo -u www /usr/bin/whoami

This list has seen many times how running as root just messes things
up. Pick a dedicated user and always use that user id.

Now that you have done things as root, you'll probably want to use
chmod -R to make sure that everything is owned by 'www' again before
you proceed.

-Travis

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Aug 26 00:06:41 2004

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.