recursively change owner windows 7
Problem
Somehow I accidentally set all the files in a subfolder to "No Owner' and I can't seem to change all the permissions. I can change one by hand by changing the owner then setting permissions but how can I change owner of all the files in this directory at once?
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Fix for: recursively change owner windows 7
To fix really broken permissions, the best is to run these two commands one after the other: The first one will give you ownership of all the files, however that might not be enough, for example if all the files have the read/write/exec permissions set to "deny". You own the files but still cannot do anything with them. In that case, run the second command, which will fix the broken permissions.
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix