Access restriction for repos may cause this error message for a commit, even though a checkout works fine. This is due to the case-sensitivity of the repository name.
For example: In the svnaccess file, if restricting the access to [leader:/] is written as below you might see this error: [LEADER:/] @svn-admin = rw.