Search code examples
tortoisesvntrac

Tortoisesvn Error: Commit failed (details follow): Can't create directory


OS : Windows 7 (x64)

System Information

Trac:   0.11b1
Python: 2.5 (r25:51908, Sep 19 2006, 09:52:17) [MSC v.1310 32 bit (Intel)]
setuptools: 0.6c7
SQLite: 3.5.2
pysqlite:   2.4.0
Genshi: 0.4.4
Subversion: 1.4.6 (r28521)
jQuery: 1.2.1

I have a commit error such as below message though I've tried "Clean Up" and "Revert" command. Is there any comments for checking ? I don't remember why it doesn't work.

Command: Commit  
Error: Commit failed (details follow):  
Error: Can't create directory 'C:\Program Files  
Error:  (x86)\EasyTrac\Data\SVN\Squerrel\db\transactions\20-1.txn': Access denied.  
Completed!:  

Solution

  • The third line of the error message should be enough:

    Error: Can't create directory 'C:\Program Files (x86)\
    

    Well, of course you can not create files in C:\Program Files. At least not without removing a lot of security features.

    You have to change the repo directory to something else, to a place where you've got write access to.