How to: Change the Access Control List Permissions for a Directory
If users are being denied access to a Web site or are receiving unexpected logon challenges, the security permissions that are assigned to the built-in users group might not be correctly configured. This group must have Read, List Folder Contents, and Read & Execute permissions for each Web site directory and virtual directory in Team Foundation.
The following table lists the default path for each Web site:
Web site |
Default directory (Local path) |
---|---|
Default Web Site |
..\Inetpub\wwwroot |
Reports |
..\Program Files\Microsoft SQL Server\MSSQL.n\Reporting Services\ReportManager
Note:
The number that is assigned to the MSSQL directory varies depending on the SQL Server instance.
|
ReportServer |
..\Program Files\Microsoft SQL Server\MSSQL.n\Reporting Services\ReportServer
Note:
The number that is assigned to the MSSQL directory varies depending on the SQL Server instance.
|
Team Foundation Server |
..\Program Files\Microsoft Visual Studio 2008 Team Foundation Server\Web Services |
Build |
..\Program Files\Microsoft Visual Studio 2008 Team Foundation Server\Web Services\Build |
Services |
..\Program Files\Microsoft Visual Studio 2008 Team Foundation Server\Web Services\Services |
VersionControl |
..\Program Files\Microsoft Visual Studio 2008 Team Foundation Server\Web Services\VersionControl |
Warehouse |
..\Program Files\Microsoft Visual Studio 2008 Team Foundation Server\Web Services\Warehouse |
WorkItemTracking |
..\Program Files\Microsoft Visual Studio 2008 Team Foundation Server\Web Services\WorkItemTracking |
SharePoint Central Administration (Windows SharePoint Services 2.0) |
..\Program Files\Common Files\Microsoft Shared\Web Server Extensions\60\template\admin\1033 |
SharePoint Central Administration V3 (Windows SharePoint Services 3.0) and Microsoft Office SharePoint Server 2007) |
..\Inetpub\wwwroot\wss\VirtualDirectories\nnnnn |
Required Permissions
To perform these procedures, you must be a member of the Administrators security group on the application-tier server for Team Foundation.
To verify or correct the access control list permissions for a directory in Windows Server 2003
Log on to the application-tier server.
Open Windows Explorer, and locate the directory path of each Web site directory and virtual directory in Team Foundation.
Right-click the directory, and click Properties.
On the Security tab, click the name of the built-in users group.
This group is labeled as Users(ServerName\Users).
Review the settings under Permissions for Users. Under the Allow column, the following check boxes should be selected :
Read & Execute
List folder contents
Read
If you cannot change the permissions, click Advanced to open the Advanced Security Settings dialog box.
In the Permission entries list, click Users (ServerName\Users), and then click Edit.
Clear the check box that propagates inheritable permissions from the parent.
In the Security dialog box, click Copy.
In the Advanced Security Settings for Services dialog box, click Edit.
In Permission Entry for Service, select the following check boxes: Traverse Folder / Execute File, List Folder / Read Data, Read Attributes, Read Extended Attributes, and Read Permissions.
Select the Apply these permissions to objects and/or containers within this container only check box.
Click OK to close the dialog box.
Click Apply, and then click Yes.
Click OK twice.
To verify or correct the access control list permissions for a directory in Windows Server 2008
Log on to the application-tier server.
Open the Start menu, point to Administrative Tools, right-click Internet Information Services (IIS) Manager, and then click Run as administrator.
Internet Information Services (IIS) Manager opens.
In the tree pane, expand ComputerName (Local Computer), and then expand Sites.
Expand each Web site.
Click the name of the Web site or virtual directory that you want to verify or correct.
In the Actions pane, click Edit Permissions.
The Web Services Properties or Services Properties dialog box opens.
On the Security tab, click the built-in users group that is labeled Users (ServerName\Users).
Under Permissions for Users, make sure that the Read & Execute, List folder contents, and Read check boxes are selected.
If you cannot change the permissions, click Advanced to open the Advanced Security Settings dialog box.
In the Permission entries list, click Users (ServerName\Users), and then click Edit.
Clear the check box that propagates inheritable permissions from the parent.
In the Security dialog box, click Copy.
In the Advanced Security Settings for Services dialog box, click Users (ServerName\Users), and then click Edit.
In Permission Entry for Services, select the following check boxes: Traverse folder / execute file, List folder / read data, Read attributes, Read extended attributes, and Read permissions.
Select the Apply these permissions to objects and/or containers within this container only check box.
Click OK to close the dialog box.
Click Apply, and then click OK.
Click OK twice.
See Also
Tasks
Resolving Problems Accessing Web Services