mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-04-18 09:57:40 +03:00
Only tested under win32 so far, but I'd hope os.chmod() is the way to go on Linux and macOS. The win32 implementation currently relies on the pywin32 package being installed in order to use its ntsecuritycon and win32security modules. It might be possible to do this with ctypes instead, but this sure looks cleaner than most ctypes code I've seen.