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

Re: svn commit: Permission denied (??)

From: David Weintraub <qazwart_at_gmail.com>
Date: Sun, 19 Oct 2008 13:45:56 -0400

The owner of the repository directory /var/svn/my_repos must be the
user who is running Apache httpd (something like "apache" or "wwwrun"
depending upon installation), It is this user that will be
manipulating the repository.

All files in that repository should be owned by that user, and have a
mode of 6xx. All folders in that repository should be owned by that
user and have a mode of 7xx.

You didn't mention what your change was, but the error message looks
like it is a problem creating the transaction in the repository
directory because the folder that needs to contain the transaction
isn't writable by the Apache HTTPD process.

If the problem is due to user authentication, you normally would see
the "password: " prompt or the "username: " prompt popup.

--
David Weintraub
qazwart_at_gmail.com
On Sun, Oct 19, 2008 at 7:57 AM, Kai Behncke <Kai-Behncke_at_gmx.de> wrote:
> Dear users,
>
> in the moment I`m totally stuck.
>
> My svn is running fine, I can check out the repository and if I works as root, I can do commits.
>
> I changed the system a bit. I made the following entrie in the httpd.conf:
>
>
> <Location "/my_repos">
> DAV svn
> SVNPath /var/svn/my_repos
> AuthType Basic
> AuthName "Repository"
> AuthUserFile /etc/svn-auth-file
> Require valid-user
> </Location>
>
> If I want to have a look in my browser I
> type http://my-domain/my-repos
>
> Then I type user "Kai" (the user from my /etc/svn-auth-file) and my password and everything is fine.
>
> The same is when I checkout the repositoy via
>
>
> "svn co http://my-domain/my-repos"
>
> But: If I wan`t to commit my diffs I´m not allowed??
> I get:
> "svn: Can't create directory '/var/svn/my_repos/db/transactions/11-1.txn': Permission denied
> "
>
> How can this be? Must the user "Kai" be the owner of /var/svn/my_repos ???? (in the moment root is the owner)
> If so it would´nt be possible to work with different users?
> What can I do?
>
> Thank you very much in advance, Kai
> --
> Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
> For additional commands, e-mail: users-help_at_subversion.tigris.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-10-19 19:46:22 CEST

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.