‘Change Directory Forbidden By Server’ SVN Error When Trying To Push WordPress Plugin
Whilst putting our latest WordPress plugin live recently, I ran into a problem whereby I was unable to commit my files via SVN. The commit message was along the lines of:
Change directory forbidden by server
The message doesn’t really give much information as to what the issue is but I finally managed to figure it out…
Fortunately the solution was a simple one. The error was caused because the login details were incorrect. Of particular interest is that the username is case sensitive as well as the password so be sure to enter that correctly as that was the cause here.
Now, if like me you’re using TortoiseSVN to perform your commits, you might have selected the option to ‘remember my details’ when you entered your username and password. If this is the case and the details entered are wrong, you can tell TortoiseSVN to forget them by right-clicking the program in the taskbar, go to ‘Settings’ and then to ‘Saved Data’. From there you can choose to remove saved credentials.