Change directory permission under windows
Hi. I would like to add people with full control access to a directory. I can do it to a file in the following way: info=win32security.DACL_SECURITY_INFORMATION sd=win32security.GetFileSecurity(DIR, info) acl=sd.GetSecurityDescriptorDacl() sidUser=win32security.LookupAccountName(None,USER)[0] acl.AddAccessAllowedAce(win32file.FILE_ALL_ACCESS, sidUser) sd.SetSecurityDescriptorDacl(1, acl, 0) win32security.SetFileSecurity(dir, info, sd) and it work correctly, but if I try to do the same to a directory only the "special permission" checkbox is checked and this is not useful to me because I need a "full control" so that files under the directory can inheritage the directory rigths. Can anybody help me Thank's -- http://mail.python.org/mailman/listinfo/python-list
Change directory permission under windows
Hi. I would like to add users with full control access to a directory. I can do it to a file in the following way: info=win32security.DACL_SECURITY_INFORMATION sd=win32security.GetFileSecurity(DIR, info) acl=sd.GetSecurityDescriptorDacl() sidUser=win32security.LookupAccountName(None,USER)[0] acl.AddAccessAllowedAce(win32file.FILE_ALL_ACCESS, sidUser) sd.SetSecurityDescriptorDacl(1, acl, 0) win32security.SetFileSecurity(dir, info, sd) and it work correctly, but if I try to do the same to a directory only the "special permission" checkbox is checked and this is not useful to me because I need a "full control" so that files under the directory can inheritage the directory rigths. Can anybody help me Thank's -- http://mail.python.org/mailman/listinfo/python-list
good documentation about win32api ??
Hi all. Recently I've to developed a project in python that made operation under win32 platform and I found a lot of problema to find good information. The only one documentation is in ActivePython page (http://aspn.activestate.com/ASPN/docs/ASPNTOC-APYTH2.4.0) but it is not very good and finally I had to turn to the newsgroups (it was very nice). And the question is: ¿Anybody knows where can I find good documentation about win32api? Thanks in advanced. ScnS. -- http://mail.python.org/mailman/listinfo/python-list