L
Lucvdv
After using xcacls from the resource kit to change permissions on a
folder and its contents, explorer reports an error on the permissions.
This happens in XP as well as Win2000.
[Xcacls should be the same as cacls, with the exception of an added
"/Y" switch to make it easier to use from a batch file].
What I did was grant access to one account, and revoke (deny) it for
another:
xcacls <path> /T /E /G User1:F /Y
xcacls <path> /T /E /D User2 /Y
After executing these commands through wshShell.Run in a script,
opening the security tab in the folder's properties (or any item
within it) causes this message to appear:
The permissions on <name> are incorrectly ordered, which may cause
some entries to be ineffective. Press OK to continue and sort the
permissions correctly, or Cancel to reset the permissions.
Clicking OK or Cancel >>seems<< to do what the message says, but the
changes aren't saved when the properties dialog is closed: the same
error reappears the next time the security tab is opened.
folder and its contents, explorer reports an error on the permissions.
This happens in XP as well as Win2000.
[Xcacls should be the same as cacls, with the exception of an added
"/Y" switch to make it easier to use from a batch file].
What I did was grant access to one account, and revoke (deny) it for
another:
xcacls <path> /T /E /G User1:F /Y
xcacls <path> /T /E /D User2 /Y
After executing these commands through wshShell.Run in a script,
opening the security tab in the folder's properties (or any item
within it) causes this message to appear:
The permissions on <name> are incorrectly ordered, which may cause
some entries to be ineffective. Press OK to continue and sort the
permissions correctly, or Cancel to reset the permissions.
Clicking OK or Cancel >>seems<< to do what the message says, but the
changes aren't saved when the properties dialog is closed: the same
error reappears the next time the security tab is opened.