[EMAIL PROTECTED] wrote:
Hi,
I've this backup script that having some problems. Please some one suggest
what is that I'm missing in it.
This backup script deletes the previous backups and then create a new backup
by simply renaming the original folder to backup folder and creates a new
folder.
The folder contains many files and folders and many .svn (i.e. hidden and
readonly files and directories)
Well things seems to be done correctly but at times while renaming the
folder to backup I get this error
WindowsError: [Error 5] Access is denied
The most obvious possiblity (there are others) is that you
don't have permission to delete / rename the files. That's
a question of NTFS permissions, not readonly-ness. Have you
checked? It could also be that the file is encrypted and
that you're not among the permitted users, but that's less
likely.
If you need to, you can take ownership and grant yourself
the access you need to complete the operation.
TJG
--
http://mail.python.org/mailman/listinfo/python-list