Re: permission denied in shutil.copyfile

2007-07-13 Thread Steve Holden
Gabriel Genellina wrote: > En Fri, 13 Jul 2007 12:10:20 -0300, Ahmed, Shakir <[EMAIL PROTECTED]> > escribió: > >> Is there any way to copy a file from src to dst if the dst is >> exclusively open by other users. >> >> I am using >> >> src = 'c:\mydata\data\*.mdb' >> dst = 'v:\data\all\*.mdb' >>

Re: permission denied in shutil.copyfile

2007-07-13 Thread Gabriel Genellina
En Fri, 13 Jul 2007 12:10:20 -0300, Ahmed, Shakir <[EMAIL PROTECTED]> escribió: > Is there any way to copy a file from src to dst if the dst is > exclusively open by other users. > > I am using > > src = 'c:\mydata\data\*.mdb' > dst = 'v:\data\all\*.mdb' > > shutil.copyfile(src,dst) > > but get

permission denied in shutil.copyfile

2007-07-13 Thread Ahmed, Shakir
Is there any way to copy a file from src to dst if the dst is exclusively open by other users. I am using src = 'c:\mydata\data\*.mdb' dst = 'v:\data\all\*.mdb' shutil.copyfile(src,dst) but getting error message permission denied. Any help is highly appreciated. Thanks sh -- http://mail.py