cacls

Deployment script: setting folder permissions over a shared network path?

We have CruiseControl for deployment from dev to qa server. It also runs a batch script that we made that creates directories and sets permissions. Problem is that it won't set the permissions and we think it is because it is trying to do it across a network share, but we can't figure out how to get it to be able to change the permission...

CACLS Confusion

During my NSIS setup script for a WinForms app, I use the following CACLS command to give the Users group full rights to a subfolder: Exec 'CACLS "$INSTDIR\SubFolder" /E /T /C /G "Users":F' So in effect the CACLS command executed is something like: CACLS "c:\Program Files\MyApp\SubFolder" /E /T /C /G "Users":F When I then look at t...