svn stumbling blocks -


When I use svn then I have some problems. In some time, my list of a kind Svn commit, svn add, etc. work, but I did something so that none of them work as a root user. (Sudo). What specific work will be due to this, and how to fix it?

  • My other website has created an image folder, and its user: group was created as a www-data: www-data result. When I tried to add this folder to the version, I think that svn was unable to create a subdirectory .svn inside the images, so it was outputted that all the sub-paths in the folder of the image were locked, and I cleaned It is necessary to run cleanliness has also failed, along with this, the picture directory started displaying with '~', which meant that it was done at some point but something like this happened. I have defined the cyclical problem by 'slip commitment till break lock' and 'cante brake lock' as follows:
    • SVN / lock files from each directory leading to the image folder
    • Image Folder has moved to the home folder, and "deleted images" have been committed
    • Copy the image folder back and 'svn add' is done
    < / Li>

    But I want to know that in the above two cases A. I wanted to do. I suspect that in the case 1, there was something wrong with the folder permissions in the problem, but I do not know exactly what that is, and how to fix it I suspect that I can take one of the following steps for those folders Those who do not have the appropriate owner / group set:

    • Try 'sudo add folder_with_different_user_and_group'
    • Change User: Adding basic values, files, and commit to the groupBut in some way I would like to return these changes in such a way that this work will be done in the future. Probably change the permissions back but do not change the owner: The group of .svn folders?

    What is the best way of SVN in each of the above cases, and how can it break such a lock successfully?

  • The problems you describe are permissions problems, not SVN problems. For example, it is suggested to learn about UNIX file permissions and what they mean.

    If your file is created from a web server, then you probably have the problem that Apache is "www-data" or something else. In this case, the user who joins (which runs the SVN command) may be easy to use to write to Apache.


    Comments

    Popular posts from this blog

    python - Overriding the save method in Django ModelForm -

    html - CSS autoheight, but fit content to height of div -

    qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -