Resolving the subversion error: svn: Can’t create directory ‘sites/default/files/some/path/.svn’: Permission denied
There is nothing more frustrating than not having permissions set correctly on a server. I recently tried to commit a bunch of files to subversion and received the following error:
This usually indicates your user does not have permission to alter the .svn folders to execute the subversion commit command. The failed command will leave your subversion status with a tilde (~):
You’ll first need to reset permissions and ownership:
Now you can revert the files to remove the tilde (~) status:
At this point you should be able to re-add the files to subversion and commit.