What is the Windows equivalent to:
chown $USER
chmod 600 file
From what I understand, this requires that inherited permissions be disabled (because HOSTNAME\Users is inherited) and all groups outside of myself and Administrators be removed.
Can this operation be performed with takeown
and icacls
?