# 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