Joel Armstrong
asked on
Add group with write permissions to the same folder with different paths
I want to add a security group and grant write permissions to the same folder in different user folders ex;
group name = copier
server.yo.local\users\jane doe\scans
server.yo.local\users\john doe\scans
server.yo.local\users\Fred doe\scans
Is there an easy way to enum a list of folders and then add the group with appropriate permissions to the scans folder.
group name = copier
server.yo.local\users\jane
server.yo.local\users\john
server.yo.local\users\Fred
Is there an easy way to enum a list of folders and then add the group with appropriate permissions to the scans folder.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Glad to help. Have a nice day.
ASKER
for /f %%a in ('dir \\server.yo.local\users\ /b') do icacls \\server.yo.local\users\%%