Skip to content
This repository has been archived by the owner on Dec 4, 2023. It is now read-only.

Can't open file '/root/.subversion/servers': Permission denied #10

Closed
hb0730 opened this issue Jul 7, 2019 · 5 comments
Closed

Can't open file '/root/.subversion/servers': Permission denied #10

hb0730 opened this issue Jul 7, 2019 · 5 comments

Comments

@hb0730
Copy link

hb0730 commented Jul 7, 2019

Hello, in the use of your subversion image, report permission issues, is it my configuration error, the following is my screenshot,and attached to my docker-compose.yml
Enclosure.zip

@elleFlorio
Copy link
Owner

Hello hb0730,

I'll check it as soon as possible! It may be related to some permission settings in the docker container. Probably I could solve it using gosu, but I need to read properly how it works 😉
I'll keep you updated!

Thank you

@elleFlorio
Copy link
Owner

Hi @hb0730,

I think I found a solution! The fix is in branch issue-10. Please give it proper testing and let me know if it is ok! 😉

Thank you!

@elleFlorio elleFlorio added this to QA in Issue tracking Jul 26, 2019
@hb0730
Copy link
Author

hb0730 commented Jul 28, 2019

Hello @elleforio, according to what you said issue-10, I cloned your code, built it into a mirror, started it, created the warehouse, browsed the warehouse, the same error occurred, report permission errors, I want to ask the author whether he tried.

@elleFlorio
Copy link
Owner

elleFlorio commented Jul 29, 2019

Hi,

🤔 The fix worked in my quick test. I will try it better and I'll let you know. 😄

@elleFlorio elleFlorio moved this from QA to In progress in Issue tracking Jul 29, 2019
@elleFlorio
Copy link
Owner

Hi @hb0730,

I tried again and it seems working to me. I just did a little modification in the Dockerfile to fix another minor issue.

The steps I followed are the following:

  1. build the docker image using the Dockerfile of branch issue-10 using the command:
    docker build -t elleflorio/svn-server .
  2. run your docker-compose file
  3. configure the svnadmin settings. Regarding this, I found a misconfiguration in the screenshot you attached. The field "Parent directory of the repositories (SVNParentPath)" should be set to /home/svn.
  4. login with the default user and create a new repo
  5. check the content of the new repo (no error)

Please, try again and let me know if you can make it work! 😉

@elleFlorio elleFlorio moved this from In progress to QA in Issue tracking Jul 29, 2019
@elleFlorio elleFlorio moved this from QA to Done in Issue tracking Aug 9, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
No open projects
Development

No branches or pull requests

2 participants