您的位置:首页 > 理论基础 > 计算机网络

svn: Can't open file 'PATH/TO/YOUR/FILES/.svn/lock': Permission denied - See more at: http://ericlon

2013-03-03 14:18 525 查看
#
go to the path of your project 

The
following commands can be used to reset the permissions and ownership for all the files in your directory. NOTE: only execute these commands if you feel comfortable with the shell and know what the file permissions should be set to for your files - See more
at: http://ericlondon.com/posts/127-resolving-the-subversion-svn-lock-permission-denied-issue#sthash.BuSx7s8I.dpuf
cd /PATH/TO/MY/PROJECT

 #
reset ownership #
NOTE: replace apache.staff with your user and group 

sudo find . -exec chown
apache.staff {} \; 

#
reset permissions #
NOTE: replace ug+rw with your file permissions

 sudo find . -exec chmod
ug+rw {} \;

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

 svn cleanup 

- See more at: http://ericlondon.com/posts/127-resolving-the-subversion-svn-lock-permission-denied-issue#sthash.BuSx7s8I.dpuf
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐