在尝试配置新网站时,我遇到了管理 IIS 6.0 的问题。我使用向导来创建一个网站。我将网站权限设置为读取并将其指向包含所有带有图标的页面和文件夹的文件夹。
该网站已创建,但除非我将 IUSR 添加到每个文件和文件夹,否则该页面将不会加载。这需要几个小时才能一一完成。我花了几个小时进行设置,试图让这个简单的继承发挥作用。我缺少什么?
已添加:
我发现不需要将 IUSR 逐一添加到每个目录和 .html 文件中的唯一方法就是选择所有目录,然后将 IUSR 添加到所有目录和 .html 文件中。我确信有更好的方法...
In trying to configure a new website, I am running into a problem managing IIS 6.0. I use the wizard to create a website. I set the Web Site permissions to read and point it to the folder that contains all the pages and folders with icons.
The website is created but unless I add IUSR to each file and folder, the page will not load. This would take hours to do one by one. I have spent hours going through setting trying to get this simple inheritance to work. What am I missing?
Added:
THe only way I could find that did not require adding IUSR to each directory and .html file one by one, was to select them all and then add IUSR to all of them. I am sure there is a better way...
发布评论
评论(2)
我认为您可以通过转到目录来设置所有文件和文件夹的权限,然后使用安全选项卡设置权限,以便将其设置为文件夹、子文件夹和文件。
I think you can set the permissions for all files and folders by going to the directory and then use the security tab to set the permission so it will set it to the folder,subfolders and files..
听起来很糟糕,您可能已经或已经在网站上安装了 FrontPage 服务器扩展 (FPSE)(查找
_vti_*
隐藏文件夹)。如果您安装 FPSE,文件夹权限将发生巨大变化,根据我自己的观察,任何未指定为 FPSE 登录名的帐户都会删除所有修改权限。最重要的是,权限似乎显式应用于每个文件或文件夹,并且 ACE 继承被有效阻止。
如果是这种情况,您需要删除 FPSE。然后使用文件夹安全选项卡重置网站根文件夹上的 NTFS 权限,以通过高级选项按钮替换/继承到所有子文件夹。
It sounds awfully like you could have, or have had, FrontPage Server Extensions (FPSE) installed on the website (look for
_vti_*
hidden folders).If you install FPSE the folder permissions are changed drastically and from my own observations any account not nominated as the FPSE login has all modify permissions removed. On top of that permissions seem to be applied explicitly to each file or folder and ACE inheritance is effectively blocked.
If this is the case you'd need to remove FPSE. Then using the folder security tab reset the NTFS permissions on the website root folder to replace/inherit to all children via the advanced options button.