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

Ask A Question

Stats

  • Questions 123k
  • Answers 123k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer Details on indexes are stored as statistics in a histogram-type… May 12, 2026 at 1:10 am
  • Editorial Team
    Editorial Team added an answer Found the problem. Upon further investigation the ListView was actually… May 12, 2026 at 1:10 am
  • Editorial Team
    Editorial Team added an answer From looking at the source code, the WriteDescriptionTo method is… May 12, 2026 at 1:10 am

Related Questions

I have a web-service written in Java, hosted on an Axis2 / Tomcat /
The problem we have now in your development process, is that there are a
I was just wondering how I could automatically increment the build (and version?) of
Okay, I will shortly be starting down the path of windows mobile development. I

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.