permission denied in shutil.copyfile

Discussion in 'Python' started by Ahmed, Shakir, Jul 13, 2007.

  1. 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
     
    Ahmed, Shakir, Jul 13, 2007
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Stéphane Ninin

    shutil.move, permission denied, why ?

    Stéphane Ninin, Apr 6, 2004, in forum: Python
    Replies:
    8
    Views:
    1,404
    Stéphane Ninin
    Apr 8, 2004
  2. Hugo Ferreira

    Synchronous shutil.copyfile()

    Hugo Ferreira, Jan 30, 2007, in forum: Python
    Replies:
    1
    Views:
    511
    Matthew Woodcraft
    Jan 30, 2007
  3. Jean-Paul Calderone

    Re: Synchronous shutil.copyfile()

    Jean-Paul Calderone, Jan 30, 2007, in forum: Python
    Replies:
    0
    Views:
    591
    Jean-Paul Calderone
    Jan 30, 2007
  4. Ahmed, Shakir

    shutil.copyfile problem for GIS data

    Ahmed, Shakir, Jul 16, 2007, in forum: Python
    Replies:
    1
    Views:
    454
    Larry Bates
    Jul 18, 2007
  5. Rob Schneider

    shutil.copyfile is incomplete (truncated)

    Rob Schneider, Apr 11, 2013, in forum: Python
    Replies:
    31
    Views:
    490
    Chris Angelico
    Apr 13, 2013
Loading...

Share This Page