Windows has icacls and Get/Set-Acl for permissions. You can also manipulate ownership, although it’s quite convoluted. Just doing takeown is the easiest.
I’m conflicted on linux vs windows in this regard. I liked ACLs in Windows, but if a software/installer decided to mess it up, it was messed up good, and required lots of manual intervention.
Windows has
icacls
andGet/Set-Acl
for permissions. You can also manipulate ownership, although it’s quite convoluted. Just doingtakeown
is the easiest.I’m conflicted on linux vs windows in this regard. I liked ACLs in Windows, but if a software/installer decided to mess it up, it was messed up good, and required lots of manual intervention.