SVN: Can't open file 'path/to/Your/files/. SVN/lock': Permission denied

Source: Internet
Author: User

SVN: Can't open file 'path/to/Your/files/. SVN/lock': Permission denied

If the preceding exception information appears, you need to reset it.Path/to/Your/files/directory SVN permission and directory owner. The file includes the hidden. SVN directory. In this case, you need to use the root permission to execute the following command:

# Enter the directory to which permissions need to be reset
CD/path/to/My/Project

# Resetting ownership
# Note: replace Apache. Staff (User Name. User Group) with your user and group
Sudo find.-exec chown Apache. Staff {}\;

# Reset Permissions
# Note: replace 2770 with your file permissions
Sudo find.-exec chmod 2770 {}\;

# Now you can run the cleanup command to repair your. SVN folders
SVN cleanup

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.