When attempting to create a backup in trac 0.11, I'm getting a
permission denied error as follows. I'm in a Windows environment and
have tried both the trac-admin executable and calling the trac-admin
script directly.
C:\Python25\Scripts>trac-admin C:/projects/trac/test hotcopy C:/
backups/trac-test-backup
Hotcopying C:\projects\trac\test to C:/backups/trac-test-backup ...
Traceback (most recent call last):
File "C:\Python25\Scripts\trac-admin-script.py", line 8, in <module>
load_entry_point('Trac==0.11dev-r6425', 'console_scripts', 'trac-
admin')
File "C:\Python25\lib\site-packages\trac-0.11dev_r6425-py2.5.egg\trac
\admi
nsole.py", line 1222, in run
return admin.onecmd(command)
File "C:\Python25\lib\site-packages\trac-0.11dev_r6425-py2.5.egg\trac
\admi
nsole.py", line 102, in onecmd
rv = cmd.Cmd.onecmd(self, line) or 0
File "C:\Python25\lib\cmd.py", line 219, in onecmd
return func(arg)
File "C:\Python25\lib\site-packages\trac-0.11dev_r6425-py2.5.egg\trac
\admi
nsole.py", line 1140, in do_hotcopy
copytree(self.__env.path, dest, symlinks=1, skip=skip)
File "C:\Python25\lib\site-packages\trac-0.11dev_r6425-py2.5.egg\trac
\admi
nsole.py", line 64, in copytree
copytree(srcname, dstname, symlinks, skip)
File "C:\Python25\lib\site-packages\trac-0.11dev_r6425-py2.5.egg\trac
\admi
nsole.py", line 71, in copytree
raise shutil.Error, errors
shutil.Error: [('C:\\projects\\trac\\test\\db\\trac.db-stmtjrnl', u'C:/
backu
rac-test-backup\\db\\trac.db-stmtjrnl', IOError(13, 'Permission
denied'))]
A permissions error appears to be the obvious culprit, so I've
checked, rechecked, and checked again and they all seem to be
correct. I'm logged in as administrator and have full control over
all directories and files. What am I missing here?
Thanks,
--Nicole
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---