mikeydk
asked on
Set rights on folders, subfolders and files by commandline
Hey
Example:
D:\Users\Jon\
I would like to give jon@mydomain.com access to the Jon folder (security) - Give him rights to add folder, subfolders and files to the D:\Users\Jon... But Jon should not be able to delete the Jon folder.
Using icacls? or?
Thanks in advance
Mike
Example:
D:\Users\Jon\
I would like to give jon@mydomain.com access to the Jon folder (security) - Give him rights to add folder, subfolders and files to the D:\Users\Jon... But Jon should not be able to delete the Jon folder.
Using icacls? or?
Thanks in advance
Mike
ASKER
Hey
How do I set the "Only files and subfolders"? (not only "this folder")
Mike
How do I set the "Only files and subfolders"? (not only "this folder")
Mike
add the /T switch, which will propagate it into all the subfolders
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Open in new window
The first command basically give him full access without delete permissions, and the second specifically denies those delete permissions