![Windows 10 get permission from system](https://kumkoniak.com/101.jpg)
![windows 10 get permission from system windows 10 get permission from system](https://4sysops.com/wp-content/uploads/2016/02/I-dont-suggest-changing-the-SRPs-permissions-on-a-production-computer-672x426.png)
Userx, domain, type = win32security.LookupAccountName ("", account) This question seems to yield a solution, which I tried as follows: import win32security On Windows, it modifies the read-only attribute of a file or folder. I have searched on SO to discover that os.chmod(path, 0o777) only works to grant access on Unix systems.
![windows 10 get permission from system windows 10 get permission from system](https://cdn.windowsreport.com/wp-content/uploads/2017/09/turn-off-fullscreen-permissions-windows-10.png)
I need to change the file permissions for these folders in order for shutil.move() to delete the folders after they are copied to the network drive. It seems that the proprietary software creates folders that are read-only by default. I have written a Python script that takes folders, which are created by proprietary software, and moves them to a network drive with shutil.move(). Question: How can I change file permissions on a Windows 10 PC with a Python script?
![Windows 10 get permission from system](https://kumkoniak.com/101.jpg)