in reply to Re: Permission denied to delete an empty folder
in thread rmtree deletes everything inside the folder but doesn't deletes the root folder him self

Thanks for replying, but how can I do it, "Check the permissions of the folder, correct them"
I'm new in perl,excuse me if it's very obvious!
  • Comment on Re: Re: Permission denied to delete an empty folder

Replies are listed 'Best First'.
Re: Re: Re: Permission denied to delete an empty folder
by bronto (Priest) on Apr 28, 2004 at 13:09 UTC

    Nelly, detail your question. What operating system are you using? Can you show a little snippet of your script?

    See also the other replies, e.g.: are you running your script under the same directory you are trying to delete?

    Thanks

    Ciao!
    --bronto


    The very nature of Perl to be like natural language--inconsistant and full of dwim and special cases--makes it impossible to know it all without simply memorizing the documentation (which is not complete or totally correct anyway).
    --John M. Dlugosz