Re: [python-win32] Replace all child permissions

2017-03-21 Thread Goku Balu
Hi Eryk, Thanks for responding. Here's my use case. I deny Write, Delete and Delete_Child permissions for all folders and files under a particular folder to make it read-only. When the user uninstalls our application, we remove the Deny ACE for all the sub-folders and files under it by iterating

Re: [python-win32] python-win32 Digest, Vol 168, Issue 3

2017-03-21 Thread Goku Balu
Hi Michel, Thanks for the response. Yes that's an option available. I've already tried this for setting permissions on files and folders. Since each invocation constitutes a System Call, it fills up the stack easily and the OS denies the handle thereafter. I'm trying to achieve it in a more native

Re: [python-win32] Replace all child permissions

2017-03-21 Thread eryk sun
On Tue, Mar 21, 2017 at 9:57 AM, Goku Balu wrote: > > Thanks for responding. Here's my use case. I deny Write, Delete and > Delete_Child permissions for all folders and files under a particular folder > to make it read-only. > > When the user uninstalls our application, we remove the Deny ACE for