Re: [python-win32] Folder Permissions - Inherit problem

2006-03-28 Thread Feiock, Dennis
Dennis Feiock wrote: Hi all, I have been trying to write a script to backup/restore NTFS permissions. I have come across one problem. How can I set a folder to inherit its permissions? I am able to detect if a folder has inherited permissions by: 16 ACE_FLAGS == 16 When I am stepping

Re: [python-win32] Distributing a Python app using MSI

2006-03-28 Thread Emlyn Jones
On 3/28/06, Mark Mc Mahon [EMAIL PROTECTED] wrote: Hi Emlyn, On 3/28/06, Emlyn Jones [EMAIL PROTECTED] wrote: Hello, This maybe better suited to the Distutils-SIG, but for now I'll try it here. I'm just wondering if anybody on this list has ever used the msilib functions used to

Re: [python-win32] Distributing a Python app using MSI

2006-03-28 Thread Mark Mc Mahon
Hi, I am sure Mark Hammond or someone else knowledgable can answer - but I am sure that there are registry entries for PyWin32 also (for all that COM/OLE stuff :-) I just did a quick search of my registry for win32com and that led me to... HKEY_CLASSES_ROOT\Python.Interpreter That looks like it

Re: [python-win32] Distributing a Python app using MSI

2006-03-28 Thread Emlyn Jones
On 3/28/06, Emlyn Jones [EMAIL PROTECTED] wrote: On 3/28/06, Mark Mc Mahon [EMAIL PROTECTED] wrote: Hi Emlyn, On 3/28/06, Emlyn Jones [EMAIL PROTECTED] wrote: Hello, This maybe better suited to the Distutils-SIG, but for now I'll try it here. I'm just wondering if

[python-win32] Re: Folder Permissions - Inherit problem

2006-03-28 Thread Roger Upole
Dennis Feiock wrote: When I tested using AddAccessAllowedAceEx on a folder, I noticed that the existing subfolders that have inheritance enabled do not automatically take on the added permission. When creating a new folder, it added the ACE as it should. Any suggestions? Here is the code