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

Re: Another person with permission problems, only locally though

From: Dominic Anello <danello_at_danky.com>
Date: 2004-02-04 23:53:20 CET

On 2004-02-04 12:47:46 -0500, Todd Eddy wrote:
----8<----
> subversion, here's the versions:
>
> subversion 0.35.1

(this didn't seem to go through the first time, so I'm sending it
again).

You should consider upgrading to 0.37 - it is the current 1.0 release
candidate.

> apache 2.0.48
> BerkeleyDB 4.2.52.NC
>
> Everything built and installed fine, got apache all configured and
> started and I can do checkouts via http://localhost:81/svn/testrepo
> just fine, haven't checked commits yet, though. My problem is when I
> try to do it locally via something like
> file:///home/svn/repositories/testrepo/ it gives me permission
> denied errors. so I go and chmod g+w the whole testrepo dir and it
----8<----

As root, you need to:
chown -R svn:svn /path/to/repo
chmod -R u+rw,g+rws /path/to/repo

Replace svn:svn with your subversion user and group.

Also make sure your umask is set to 002, otherwise files get created with
the wrong permissions in the repo.

-Dominic

  • application/pgp-signature attachment: stored
Received on Wed Feb 4 23:54:01 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.