I’m following this how-to:
Setting up a Subversion server using Apache2 - openSUSE
and everything went well till this part:
(su) svnadmin create /srv/svn/kdrepos/meddaliadur
(su) chown -R wwwrun:www /srv/svn/kdrepos/meddaliadur/{dav,db,locks}
The commands I used so far are:
Bakhuis@Bakhuis-Server:~> su
Password:
Bakhuis-Server:/home/Bakhuis # a2enmod dav
Bakhuis-Server:/home/Bakhuis # a2enmod dav_svn
Bakhuis-Server:/home/Bakhuis # mkdir /srv/svn/user_access
Bakhuis-Server:/home/Bakhuis # touch /srv/svn/user_access/svn_passwdfile
Bakhuis-Server:/home/Bakhuis # chown root:www /srv/svn/user_access/svn_passwdfile
Bakhuis-Server:/home/Bakhuis # chmod 640 /srv/svn/user_access/svn_passwdfile
Bakhuis-Server:/home/Bakhuis # htpasswd2 /srv/svn/user_access/svn_passwdfile Pascal
New password:
Re-type new password:
Adding password for user Pascal
Bakhuis-Server:/home/Bakhuis # rcapache2 restart
Syntax OK
Shutting down httpd2 (waiting for all children to terminate) done
Starting httpd2 (prefork) done
Bakhuis-Server:/home/Bakhuis # svnadmin create /srv/svn/kdrepos/BakaCMS
Bakhuis-Server:/home/Bakhuis # chown -R wwwrun:www /srv/svn/kdrepos/BakaCMS/{dav,db,locks}
chown: cannot access `/srv/svn/kdrepos/BakaCMS/dav': No such file or directory
So I thought… hey it might be the last slash. and tried
Bakhuis-Server:/home/Bakhuis # chown -R wwwrun:www /srv/svn/kdrepos/BakaCMS{dav,db,locks}
chown: cannot access `/srv/svn/kdrepos/BakaCMSdav': No such file or directory
chown: cannot access `/srv/svn/kdrepos/BakaCMSdb': No such file or directory
chown: cannot access `/srv/svn/kdrepos/BakaCMSlocks': No such file or directory
So no luck it seems to want a subdir ‘nav’ in /srv/svn/kdrepos/BakaCMS/, how do I continue?