简体   繁体   中英

Svn permission error on CentOS

I installed svn and created my first repository on CentOS successfully. But i have some problems in configuration part. I can see the content in browser. I can checkout in Windows cmd but i cannot commit from Windows cmd. It gives svn E000013 error. When i google it, i realize that this problem is about permissions. i have a svn user named 'testusr'. I cannot give permission t this user, because it is not a linux user. I try apache, but it didnot work for me. Here some screenshot about my configuration. Can someone help me ?

I fallowed this article:

http://wiki.centos.org/HowTos/Subversion

Permission:

在此处输入图片说明

Checkout is successull:

在此处输入图片说明

But commit crashed:

在此处输入图片说明

This is browser:

在此处输入图片说明

I find a solutıon for my problem. These codes fix it. Remember repos is my repository name.

chcon -R -t httpd_sys_content_t /var/www/svn/repos
chcon -R -t httpd_sys_rw_content_t /var/www/wvn/repos

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM