Solved

Error access file on web server

Posted on 2011-02-17
3
269 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
  • 2
3 Comments
 
LVL 3

Expert Comment

by:Sleetish
Comment Utility
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
 

Author Comment

by:nachtmsk
Comment Utility
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 500 total points
Comment Utility
From the security tab, hit the Advanced Button near the bottom. There is a check box for allow inheritance.
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

How to sign a powershell script so you can prevent tampering, and only allow users to run authorised Powershell scripts
Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
This tutorial will walk an individual through the steps necessary to configure their installation of BackupExec 2012 to use network shared disk space. Verify that the path to the shared storage is valid and that data can be written to that location:…
This tutorial will show how to configure a new Backup Exec 2012 server and move an existing database to that server with the use of the BEUtility. Install Backup Exec 2012 on the new server and apply all of the latest hotfixes and service packs. The…

762 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now