符号链接在我的本地机器上不起作用

2021-12-29 00:00:00 symlink php drupal drupal-7 drupal-modules

我在 Windows 7 机器上使用 Xampp 设置.我正在尝试在 Drupal 7 中配置子文件夹模块.但它说无法创建符号链接,错误代码(1314)"错误阻止我正确配置模块.并且子文件夹模块功能未按预期工作.

I'm using Xampp setup in Windows 7 machine. I am trying to configure sub-folder module in Drupal 7. But it says "Cannot create symlink, error code(1314)" error which stops me in configuring the module properly. And subfolder module functionality is not working as expected.

推荐答案

这是一条 Windows 错误消息,表明当前用户没有创建符号链接的权限.默认情况下,此权限仅授予管理员.您可以选择以管理员身份运行(这对于正常的日常使用来说当然是有风险的)或明确为运行此进程的用户启用特权.

This is a Windows error message indicating that the current user does not have permission to create symbolic links. By default, this privilege is granted to administrators only. Your options for fixing this are either to run as administrator (which of course is risky for normal day-to-day use) or explicitly enable the privilege for the user running this process.

此问题已接受的答案描述了为特定用户启用权限的分步详细信息:

This question's accepted answer describes the step-by-step details for enabling the privilege for a specific user:

https://superuser.com/questions/124679/how-do-i-create-a-link-in-windows-7-home-premium-as-a-regular-user

相关文章