469,609 Members | 1,124 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,609 developers. It's quick & easy.

Re: Getting windows error while making a backup

du**********@gmail.com 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
Oct 17 '08 #1
0 715

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by daniel kern | last post: by
reply views Thread by Jep | last post: by
1 post views Thread by Joseph Bittman MCAD | last post: by
5 posts views Thread by abelbfilho | last post: by
reply views Thread by devrayhaan | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.