icacls * /reset /t /c /q

I was looking for an equivalent to chmod and this seems to be it. The old DOS command attrib does not exist anymore. Neither does chattr (I think that one was QNX from the late 80s/early 90s).

This was the only way I could find to claim ownership on some files I had written in linux but needed access to in Windows.

Hope this helps someone else!

/tPerforms the operation on all specified files in the current directory and its subdirectories.
/cContinues the operation despite any file errors. Error messages will still be displayed.
/qSuppresses success messages.

For more information, be sure to check out the icacls documentation on Technet.

Note: To take effect you may need to run this as Administrator in order to change permissions on some files

Simply press the Win key and type cmd. Then select Run as administrator from the right side of the panel.

By Lilithe

Dork.