In Linux, CVScheckout reports an error-Linux Enterprise Application-Linux server application information. For details, refer to the following section. Environment
Cvsroot:/home/cvsroot
Checkout module: test
Error Message
The following error is reported during checkout:
Cvs server: failed to create lock directory for '/home/cvsroot/test' (/home/cvsroot/test/# cvs. lock): Permission denied
Cvs server: failed to obtain dir lock in repository '/home/cvsroot/Test'
Cause Analysis
When cvs checkout is used, the lock file will be created. By default, it is in the chechkout module. If cvs has no permission to create this file. An error occurs.
Solution
# Modifying the cvs configuration file
# Vi/home/cvsroot/CVSROOT/config
# Remove "#" before "LockDir =/var/lock/cvs", that is, specify that cvs write the lock file to LockDir =/var/lock/cvs.
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