Article ID: 8225, created on Jan 12, 2014, last review on May 10, 2014

  • Applies to:
  • Plesk for Windows

问题

Parallels Panel 中域名主机设置页面上的“其它写入/修改权限”框能够让你在域名的 "httpdocs" 文件夹内启用“写入/修改”权限。请参阅官方文档了解此功能。

解决方案

以下示范如何修改 %plesk_dir%\etc\hosting_write_template.xml 文件直接为 "httpdocs" 文件夹和其内容启用写入权限:
<?xml version="1.0" encoding="utf-8" ?>
<Entries>
<Entry AccounType="0" Account="Null" Path="[HTTPD_VHOSTS_D]" SubPath="httpdocs" AceFlags="SubfoldersAndFilesOnly" AccessMask="FullAccess" EntryFlags="0x40" Tag="AnonymousDomainUser" Tag2="WritePermission" />
<Entry AccounType="0" Account="Null" Path="[HTTPD_VHOSTS_D]" SubPath="httpsdocs" AceFlags="SubfoldersAndFilesOnly" AccessMask="FullAccess" EntryFlags="0x40" Tag="AnonymousDomainUser" Tag2="WritePermission" />
<Entry AccounType="" Account="Null" Path="[HTTPD_VHOSTS_D]" SubPath="httpdocs" AceFlags="ThisObjectOnly" AccessMask="FileNonRemovable" EntryFlags="0x140" Tag="AnonymousDomainUser" Tag2="WritePermission" />
<Entry AccounType="" Account="Null" Path="[HTTPD_VHOSTS_D]" SubPath="httpsdocs" AceFlags="ThisObjectOnly" AccessMask="FileNonRemovable" EntryFlags="0x140" Tag="AnonymousDomainUser" Tag2="WritePermission" />
</Entries>

a914db3fdc7a53ddcfd1b2db8f5a1b9c 85a92ca67f2200d36506862eaa6ed6b8 56797cefb1efc9130f7c48a7d1db0f0c

Email subscription for changes to this article