Change permissions for folder, all subfolders, and all files
I am trying to call shutil.rmtree(some_folder), but it is causing an error that another process is using some file in the subtree.  This is not the case, so I'm assuming permissions are not set correctly.  

How can I change the permissions of all subfolders and files under some root to writeable, so I can call shutil.rmtree and get rid of them?

Thanks
Change permissions for folder, all subfolders, and all files
===

I am trying to call shutil.rmtree(some_folder), but it is causing an error that another process is using some file in the subtree.  This is not the case, so I'm assuming permissions are not set correctly.  

How can I change the permissions of all subfolders and files under some root to writeable, so I can call shutil.rmtree and get rid of them?

Thanks