Advertisement
overloop

icacls.sh

Jan 24th, 2015
245
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.20 KB | None | 0 0
  1. for i in /d/*; do if [ -d "$i" ]; then j=`cygpath -w "$i"`; echo "icacls \"$j\" /setowner User /t"; echo "icacls \"$j\" /reset /t";  echo "icacls \"$j\" /grant User:F /t"; fi; done > /d/temp/icacls_drive.bat
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement