# 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
本文介绍了一种解决Subversion (SVN) 锁文件权限被拒绝的方法,包括重置目录中所有文件的所有权和权限,并提供了具体的命令示例。通过执行这些命令可以修复.svn文件夹,最终解决权限问题。
3016

被折叠的 条评论
为什么被折叠?



