【问题标题】:XAMPP on Windows 8.1 - Can't edit files in htdocsWindows 8.1 上的 XAMPP - 无法编辑 htdocs 中的文件
【发布时间】:2015-11-08 03:05:29
【问题描述】:

我在 Windows 8.1 上使用 XAMPP。当我尝试编辑位于 htdocs 文件夹中的文件时,它不允许我保存更改。

警报消息如下所示:

无法保存: 错误:访问被拒绝

【问题讨论】:

  • 我不能给你确切的解决方案,但我记得我在 Windows 7 上遇到过类似的问题。我必须启用 xampp 文件夹的管理员权限,并且我还禁用了 UAC。但是,如果文件被另一个程序使用,您可能无法编辑/保存文件。

标签: xampp


【解决方案1】:
  1. 右键单击htdocs 文件夹,然后选择Properties
  2. 移至Security 选项卡
  3. 选择Advanced,然后选择Owner
  4. 将所有者更改为Administrator
  5. Permissions窗口点击Add按钮打开Group or user names-你可以输入everyone然后点击OK
  6. 勾选Allow,选择Full Control

也检查一下:

  1. Add group "Everyone" to directory and all of it's sub-directories

  2. On Windows, who is in the Everyone and Authenticated Users groups?

  3. How to use batch file to give a folder permission to the Everyone group

  4. How to create directory with all rights granted to everyone

【讨论】:

    猜你喜欢
    • 2017-12-12
    • 2011-06-09
    • 1970-01-01
    • 2014-12-11
    • 2013-12-27
    • 2014-09-05
    • 2018-10-11
    • 2011-11-06
    • 2015-08-06
    相关资源
    最近更新 更多