http://qs321.pair.com?node_id=1230924


in reply to Win7 cannot MKDIR or write

To put it simply, Windows permissions are complicated.

The ACL model in Windows can often get in an inconsistent state. For example, you can give yourself read/write/execute permissions at the folder level, but this might not percolate downward to individual items in the directory, even if you click the appropriate box in the GUI. I had this happen when my profile got corrupted, and I needed to move files to a new account.

You might need to write a Powershell script to change all of the files individually. Pretty annoying.

Your best bet would be to read up on the built-in utilities called ICACLS.

Link: https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/icacls

Edit: the following goes into some of the issues regarding taking ownership of various objects on the Windows system: Link: https://rakhesh.com/powershell/using-get-acl-to-view-and-modify-access-control-lists-part-1/

Edit 2: Closest thing to a manpage for ICALS: Link:https://ss64.com/nt/icacls.html