elleFlorio / svn-docker

Lightweight Docker image to build a container running an SVN server
MIT License
145 stars 106 forks source link

Error: Access to '/svn/Demo/!svn/me' forbidden when commit file #19

Closed thangdjw closed 4 years ago

thangdjw commented 4 years ago

hi elleFlorio I am trying to set up your image exactly as instructed in the article on medium, but I got this error and I still couldn't find a fix. hope you help me image

xubingtao commented 4 years ago

Me too...The conf like these pictures!So why "Error: Access to '/svn/Demo/!svn/me' forbidden when commit file "????

svnserve authz passwd
elleFlorio commented 4 years ago

Hello, Sorry for the late response, sometime I miss some notifications 😅 I'll give a proper look to find a fix ASAP!

xubingtao commented 4 years ago

Hello, Sorry for the late response, sometime I miss some notifications 😅 I'll give a proper look to find a fix ASAP!

What the fuck! The problem hasn't been solved yet?

elleFlorio commented 4 years ago

I work on this thing in my (very limited) free time, and I try to do my best. No need to be rude, man.

Anyway, it sounds like a filesystem permission issue. Try the image tagged with issue-19 and let me know if it works. (it means run it with docker run -d --name svn-server -p 80:80 -p 3690:3690 elleflorio/svn-server:issue-19)

fangpinchang commented 4 years ago

@elleFlorio, I think I know what the problem is. By default, all users have Read only permission to all repositories, including the administrator designated per the SVNAdmin UI.

For me, after assigning Read & Write permissions to suit my needs using SVNAdmin UI, the problem went away. This is using the elleflorio/svn-server:latest image, btw.

elleFlorio commented 4 years ago

Thanks @fangpinchang I will then clode the related PR.

xubingtao commented 4 years ago

I'm so sorry for my rude @elleFlorio. I know what the problem is, in some Linux environment the /home/svn just had Read only permission.So,I wrote an article on my website to introduce installation methods and problems: https://www.xubingtao.cn/2020/02/07/install_svn

reemapal commented 4 years ago

[root@server conf]# svn import /root/Test/my_repo http://localhost/svn/Test -m "Initial commit." svn: E175013: Access to '/svn/Test/!svn/me' forbidden

ooing commented 3 years ago

vi /etc/subversion/subversion-access-control

zlshi commented 2 years ago

vi /etc/subversion/subversion-access-control

It's work

keepchen commented 2 years ago

Run this command:

docker exec -t svn-server sed -i "s/= r/= rw/g" /etc/subversion/subversion-access-control

It will be work fine. 😄

Thanks to @ooing

elleFlorio commented 2 years ago

Thank you for the collaboration! ❤️