Avatar of MichaelBalack
Flag for Singapore asked on

How to lock the SVN repository?

This is using the SVN (subversion) to control the version number of the code. The source server is an VM using CentOS 6.4, while the destination server is a redhat Enterprise linux 6.7. Both Linux systems are installing SVN by yum, for example, yum install subversion, and yum install mod_dav_svn. apache (httpd) was utilized. The version of SVN is 1.6.

As for the SVN structure, the httpd.conf located in /etc/httpd, while all SVN repository config are put in /etc/httpd/conf.d. However, all SVN repository are stored in /home/svn. As for the user authentication, LDAP is in used, in which this pointed to our MS Windows AD Domain. Both systems were setup in the same fashion.

Now, selective repositories are needed to be migrated from CentOS to redhat linux. The redhat linux SVN server is working now. However, as for the old centOS svn server, those affected repository still kept but none of them should allow committed or updated.
Is there a way to "lock" all the files and folders of those affected repository, sounds like using "svn lock" or else? Or only allow those users to read-only but not write?

Please help, thanks a lot.
LinuxVersion Control* svn

Avatar of undefined
Last Comment

8/22/2022 - Mon

From the new svn server, checkout the data you copy into the new repository.
Change permission on the repository removing write rights.

Hi Arnold,

How to "Change permission on the repository removing write rights"?

Are you referring to linux file permissions? by default each repo is assigned 755, so change this to 311? or else?

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question

Thanks for Expert Arnold in suggesting the remove WRITE permissions. It works.
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck