Recursive reset file permissions on Windows
Posted
by
Peter Horvath
on Server Fault
See other posts from Server Fault
or by Peter Horvath
Published on 2014-06-06T15:39:13Z
Indexed on
2014/06/09
3:29 UTC
Read the original article
Hit count: 530
There is a big, complex directory structure on a relative big NTFS partition. Somebody managed to put very bad security privileges onto it - there are directories with randomly given/denied permissions, etc. I already run into permission bugs multiple times, and I found insecure permission settings multiple times (for example, write permissions for "Everyone", or false owners).
I don't have time to check everything by hand (it is big).
But luckily, my wishes are very simple. The most common: read/write/execute on anything for me, and maybe read for Everyone.
Is it possible to somehow
- remove all security data from a directory
- and giving my (simple) wishes to overwrite everything there?
On Unix, I used a chown -R ...
, chmod -R ...
command sequence. What is its equivalent on Windows?
© Server Fault or respective owner