1 reply
by joseph moore
So, say you have 3 users, BOB, JIM & TOM, and 3 folders:
D:\HOME\BOB
D:\HOME\JIM
D:\HOME\TOM
and you want only BOB to open the BOB folder, JIM to open the JIM folder, and TOM to open the TOM folder. No one can open the other folders.
Ok.
Here is the XCACLS syntax:
XCACLS /P BOB:F D:\HOME\BOB /T /Y
XCACLS /P JIM:F D:\HOME\JIM /T /Y
XCACLS /P TOM:F D:\HOME\TOM /T /Y
That should overwrite the existing ACLs (/P is the overwrite switch, whereas /G adds to the ACL and /E edits the ACL) with the permissions to the specified folder and all subfolders/files (/T adds the subfolder/file ACL write ability). /Y does it without prompting for a Yes/No.
hope this helps
This discussion is closed to new replies.
Trending Windows Forum posts
Sort by Trending