I am running IIS 7 on server 2008.
I have a directory under inetpub that has some photos in it.
Some of the photos are not accessible via HTTP.
The error I get is below (see attached screen shot).
However, if I go into the properties of one of these photos and check the security tab, I see that the "Users/Web" group is not in the list (Admins are and so is SYSTEM).
If I add in the "Users/Web" group, then the photo shows up fine using HTTP.
So, my question is this:
What's the fastest way for me to bulk change all of the photos by adding in "Web/users" group to all of them. Doing it using Explorer one at at time isn't an option.
Is there some handy-dandy Powershell command to do this?
Next question. What happens if I add in the "Web/Users" group to a photo that already has the "Web/users" group on it? Will it be added in twice or will the 'second' add just be ignored?