Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Error access file on web server

Posted on 2011-02-17
3
Medium Priority
?
280 Views
Last Modified: 2012-05-11
Hi,
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?

Thanks
Screen-shot-2011-02-17-at-2.18.0.png
0
Comment
Question by:nachtmsk
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 3

Expert Comment

by:Sleetish
ID: 34919533
Add the "web/users" group to the security for the folder that contains the pictures and let it inherit the permissions.

Duplicate permissions are ignored.
0
 
LVL 1

Author Comment

by:nachtmsk
ID: 34920022
The folder actually already has that group but for some reason it's not inheriting. Is there something special I have to do to make it inherit?
0
 
LVL 3

Accepted Solution

by:
Sleetish earned 2000 total points
ID: 34921708
From the security tab, hit the Advanced Button near the bottom. There is a check box for allow inheritance.
0

Featured Post

Are You Ready for GDPR?

With the GDPR deadline set for May 25, 2018, many organizations are ill-prepared due to uncertainty about the criteria for compliance. According to a recent WatchGuard survey, a staggering 37% of respondents don't even know if their organization needs to comply with GDPR. Do you?

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A project that enables an administrator to perform actions within a user session context not just at the time of login but any time later on day(s) or week(s) later.
There are times when we need to generate a report on the inbox rules, where users have set up forwarding externally in their mailbox. In this article, I will be sharing a script I wrote to generate the report in CSV format.
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…
This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…

722 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question