The reason and solution for the can ' t open file ' txn-current-lock ' permission denied when SVN commit or import occurs

Source: Internet
Author: User
Tags create directory svn svn update

When you configure a Svn+apache server, systems such as Win, UNIX, Linux, Mac OS X, and so on, may experience similar permissions issues when importing or submitting:

SVN: Submit failed (details below):
Svn:can ' t open file ' txn-current-lock ' permission denied or SVN: Submit failed (details below):
Svn:can ' t create directory '/USR/LOCAL/SVN/REPOS/TEST/DB/TRANSACTIONS/1-2.TXN ': Permission denied this main reason: in Svnadmin Create is the root identity, so, MOD_DAV_SVN has no write permission. Workaround: sudo chown-r daemon/usr/local/svn/repos/test sudo chmod-r 755/usr/local/svn/repos/test re-operation SVN Add, svn commit, SVN Update, SVN import, svn checkout can be, OK:

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.