apache - Checkin error on subversion server installed on AWS EC2 -


i installed subversion server on aws ec2. of works fine. i'm able checkout unable checkin file on command line. svn: e000013: not begin transaction. error in logs are:

[wed jan 20 22:02:25.679636 2016] [:error] [pid 28816] [client 96.242.58.29:53390] can't open file '/var/www/svn/repos/db/txn-current-lock': permission denied  [500, #13] 

this syntax subversion.conf

cat /etc/httpd/conf.d/subversion.conf  loadmodule dav_svn_module     modules/mod_dav_svn.so loadmodule authz_svn_module   modules/mod_authz_svn.so    <location /svn> dav svn svnparentpath /var/www/svn <limitexcept propfind options report>      svnlistparentpath on      authtype basic      authname "subversion repositories"      authuserfile /etc/svn-auth-conf      require valid-user </limitexcept> 

repo permissions this:

ls -lrt /var/www/ total 0 drwxrwxrwx. 2 root   root    6 sep 17 09:07 cgi-bin drwxrwxrwx. 3 root   root   28 jan 20 20:17 html drwsrwsr-x. 3 apache apache 18 jan 20 20:25 svn  ls -lrt /var/www/svn total 0 drwsr-sr-x. 6 apache apache 80 jan 20 20:25 repos  httpd ps -ef is:   ps -ef | grep httpd  root     28809     1  0 21:59 ?        00:00:00 /usr/sbin/httpd -dforeground  apache   28811 28809  0 21:59 ?        00:00:00 /usr/sbin/httpd -dforeground  apache   28813 28809  0 21:59 ?        00:00:00 /usr/sbin/httpd -dforeground  apache   28814 28809  0 21:59 ?        00:00:00 /usr/sbin/httpd -dforeground  apache   28815 28809  0 21:59 ?        00:00:00 /usr/sbin/httpd -dforeground  apache   28816 28809  0 21:59 ?        00:00:00 /usr/sbin/httpd -dforeground  apache   28817 28809  0 21:59 ?        00:00:00 /usr/sbin/httpd -dforeground  apache   28818 28809  0 22:00 ?        00:00:00 /usr/sbin/httpd -dforeground  apache   28819 28809  0 22:00 ?        00:00:00 /usr/sbin/httpd -dforeground  ec2-user 28856  9252  0 22:07 pts/0    00:00:00 grep --color=auto httpd 

got resolved post. selinux issue. used 2 option post:

https://serverfault.com/questions/625579/svn-cant-open-file-var-www-svn-repo-db-txn-current-lock-permission-denied


Comments

Popular posts from this blog

sql - VB.NET Operand type clash: date is incompatible with int error -

SVG stroke-linecap doesn't work for circles in Firefox? -

python - TypeError: Scalar value for argument 'color' is not numeric in openCV -