There's an example of changing a file's security in \win32\demos\security\set_file_audit.py. However, you'll need to use AddAccessAllowedAceEx instead of AddAccessAllowedAce to set the inheritance flags.
hth Roger James Carroll wrote: > How do I grant permissions on directories with pythonwin? > > At the moment we use a command line utility: > cacls "existing path" /E /T /P Everyone:F > > To give Everyone full access (:F) by modifying an existing ACL (/E) > and affecting all contents of the directory (/T) > > I'd like to do it all with shell or com stuff if possible. Thanks, -Jim _______________________________________________ Python-win32 mailing list Python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32