Sitecore 文件夹 & IIS 权限
设置或移动 Sitecore 解决方案时,您必须记住设置正确的文件夹权限和 IIS 权限。
它类似于此处的第 3.3.3.2 - 3.3.3.9 节: http:// /sdn.sitecore.net/Products/Sitecore%20V5/Sitecore%20CMS%205,-d-,3/Installation/EXE%20Installation.aspx
文件夹权限通常在使用安装程序时设置,但在使用时则不然使用 Zip 或只是移动现有的解决方案。
您可以在此处使用指南(适用于 Sitecore 6):http ://sdn.sitecore.net/Products/Sitecore%20V5/Sitecore%20CMS%206/Installation.aspx
但是执行步骤 3.5 到 3.6.5 很麻烦。
有人制作过可以或多或少自动执行此操作的脚本或程序吗?
我们将不胜感激。
When setting up or moving a Sitecore solution, you have to remember to setup the correct folder permissions and IIS permissions.
It something like sections 3.3.3.2 - 3.3.3.9 here:
http://sdn.sitecore.net/Products/Sitecore%20V5/Sitecore%20CMS%205,-d-,3/Installation/EXE%20Installation.aspx
The folder permissions are usually setup when using the installer, but not when using the Zip or just moving an existing solution.
You could use the guides (for Sitecore 6) here: http://sdn.sitecore.net/Products/Sitecore%20V5/Sitecore%20CMS%206/Installation.aspx
But going through steps 3.5 to 3.6.5 is bothersome.
Anyone made any scripts or programs that could do this more or less automatically?
It will be greatly appreciated.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
假设您正在使用非生产实例:
所以(权限是递归设置的):
ASP.NET 帐户(IIS 7 中的 IUSR)&匿名用户:完全控制:
/Website
/Data
网络服务(默认 SQL Server 帐户):完全控制:
/Databases
或者您可以Cacls设置文件的权限从命令行进入/文件夹。
例如,您可以使用以下语句授予
Administrator
用户对c:\file
Write
ANDDelete
权限/代码>Assuming you are playing around with a non-production instance:
So (The permissions are set recursively):
ASP.NET account (IUSR in IIS 7) & Anonymous user: FULL CONTROL OVER:
/Website
/Data
NETWORK SERVICE (default SQL Server account): FULL CONTROL OVER:
/Databases
Alternatively you could Cacls to set permissions to a file/folder from the commandline.
For example you could use the following statement to grant the
Administrator
userWrite
ANDDelete
permissions onc:\file
我正在使用这个脚本
I am using this script