July 12, 2011

Windows 2003, XP, recursive taking file and folders ownership and permissions

I found that the security tab on the file properties did not work for me when taking ownership and setting permission for a full directories with multiple sub directories. The follow method did the trick:

1. Download fileacl
2. Run:  cd C:\Program Files\fileacl
3. fileacl "My directory" /s myusername:RWD /FILES /SUB

1 comment:

  1. Thanx.

    I needed to add: /FORCE.

    C:\Program Files\fileacl>fileacl c:\documents and settings\vic\*.* /s vic:RWD /F