On Oct 14, 2009, at 21:28, Tena Sakai wrote:
>> It sounds like the files and/or directories in /usr/local/svn/tsakai
>> are not owned by you, hence permission denied. Change their ownership
>> to you, or if this repository is for more than just testing out
>> Subversion's functionality, then set up svnserve or apache and change
>> the ownership of the files to the user you run svnserve or apache as.
> The ownership of /usr/local/svn/tsakai is:
> drwxr-sr-x 6 root apache 4096 Aug 25 14:03 /usr/local/svn/tsakai
> I looked for
> Configure-CollabNet-Subversion and found the script in
> /opt/CollabNet_Subversion/bin directory and ran it.
> Congratulations! You have successfully configured the CollabNet
> Subversion server.
> You can access your repositories at the following URL:
> At this point, I was curious about the ownership of my repository.
> I thought it might have changed.
> $ ll -d /usr/local/svn/tsakai
> drwxr-sr-x 6 csvn csvn 4096 Aug 25 14:03 /usr/local/svn/tsakai
> Encouraged, I went on to issue what I started with yesterday:
> $ svn import ~/Projects/pivot file:///usr/local/svn/tsakai -m
> "initial import"
> svn: Can't open file '/usr/local/svn/tsakai/db/txn-current-lock':
> Permission denied
This still won't work because you're still trying to access the
repository files directly, using a file:-protocol URL. Instead, access
the repository by going through the apache server that CollabNet
Subversion has set up for you, using the repository's http:-protocol
URL shown to you above.
$ svn import ~/Projects/pivot http://vixen.egcrc.org:8099/svn/tsakai -
m "initial import"
> $ svn --version
> svn: Could not initialize the SASL library
> Here, too, the exit status was 1.
>> Do you have SASL installed? What version? How was it installed?
> I am not real clear on SASL. I looked at directories /usr/lib/sasl
> and version numbers in this directory seem to be one of
> [0.0.7, 1.0.16, 1.0.17, 1.0.19, 1.0.20]. In /usr/lib/sasl2, there is
> only: 2.0.19. /usr/lib64/sasl is like /usr/lib/sasl: [0.0.7, 1.0.16,
> 1.0.17, 1.0.19, 0.0.20]. Finally, /usr/lib64/sasl2 has only 2.0.19.
> I have no idea how any of them got installed.
Ok. I'm afraid I don't know anything about SASL either, other than
that Subversion uses it. Maybe someone else here can help with this
part of the problem. Maybe simply reinstalling CollabNet Subversion
would help; I think it comes with everything you need to use
Subversion, including SASL.
> $ sudo chown csvn /usr/local/bin/svnadmin
> $ sudo chown csvn /usr/local/bin/svn
There's no need to change the ownership of those binaries. You should
probably keep them as they were (owned by root, I imagine).
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-10-15 05:35:03 CEST