Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 183441
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T15:06:59+00:00 2026-05-11T15:06:59+00:00

I face a few problems when I use svn. Here is a list at

  • 0

I face a few problems when I use svn. Here is a list

  • at some point in time, all my commands like svn commit, svn add, etc worked, but I did something so that none of them would work without running them as root user (sudo). what specific actions would cause this, and how to fix it?
  • my other website created an images folder itself, and its user:group became www-data:www-data as a result. when i tried to add this folder to versioning, i think svn failed to create a subdirectory .svn inside images, so it outputted that all sub-paths to the image s folder were locked, and i needed to run cleanup. The cleanup also failed. Also it started showing the images directory with a ‘~’ (tilde) implying that it was versioned at some point but something happened to it. I fixed the ‘cant commit till break locks’-and-‘cant break locks’ cyclic problem as follows:
    • removed .svn/lock files from each of the directories leading to the images folder
    • moved the images directory to home folder, and committed ‘Deleted images’
    • copied back the images folder and did ‘svn add’

But I want to know what i should have done in each of the above two cases. i suspect that in case 1, the problem had something to do with messed-up folder permissions, but I dont know exactly what, and how to fix it. I suspect I could take one of the following steps for folders that dont have the appropriate owners/groups set:

  • try to do ‘sudo add folder_with_different_user_and_group’
  • change user:group to default values, add files and commit. But somehow i would want to revert these changes in a way that it will make it work in future. probably change permissions back but dont change owner:group of the .svn folder?

what is the best way to use svn in each of the above cases, and how to successfully break locks etc when something like this happens?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T15:07:00+00:00Added an answer on May 11, 2026 at 3:07 pm

    What you describe are permission problems, not SVN problems. I suggest to learn about Unix file permissions and what they mean, for example here.

    If your files are created by a web server, you probably have the issue that Apache is configured to run as ‘www-data’ or something. In this case, it might be more simple to add the user (which runs the SVN commands) to the group which Apache uses to write the files.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I face some problem on my script that I use PHP and jquery to
Why is this archaic format still used in the face of easier-to-use technologies? Does
I have tried to use ASP.NET MVC for a while, then I face a
As the question says, what are some common/major issues that C++ programmers face when
There are few open source projects/APIs/libraries that we use in our project ( Spring,
I face a very annoying bug in D2007 IDE : It's the second time
I face the same issue as described here Rich modalpanel closes automatically I'm using
I have been working with managing agile teams for quite some time. Now I'm
I have a few thousand word files which some of my colleagues have put
I have some @font-face webfonts on my site. The fonts and the CSS code

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.