[python-win32] Re: NT filepermissions

Roger Upole rwupole at msn.com
Wed Jan 26 01:48:30 CET 2005


NT doesn't do dynamic inheritance.  On Windows 2000 and up,
you can set SE_DACL_PROTECTED to prevent inheritance, but not on NT.

       Roger

----- Original Message ----- 
From: "Atul Kamat" <atul.kamat at rediffmail.com>
To: <python-win32 at python.org>
Sent: Monday, January 24, 2005 6:48 AM
Subject: [python-win32] NT filepermissions



Hi All,

  This is a query about the NT file/Directory Permissions.In
Windows NT,if we set the permissions  for a file,it tends to ignore them and 
inherits the parent directory`s permissions.Is there a way by which i can 
make the file permissions work irrespective of what the parent directory`s 
permissions have been set.I`ve written a permissions handler module for unix 
based operating systems using chmod(),chown() and stat() .I`m using 
win32file() win32security() and ntsecuritycon() for the permissions handler 
on windows.

Thanks and Regards
Atul Kamat
Network Security Developer
Visionael Protector Labs
Bangalore 



More information about the Python-win32 mailing list