Cannot open File manager: "Unable to get file (C:\\Inetpub\\vhosts\\domain.tld) attributes: (5) Access is denied"

Refers to:

  • Plesk 11.5 for Windows
  • Plesk 12.0 for Windows
  • Plesk 12.5 for Windows
  • MG:08de2fdaabcd120b8ca1388d21179921
  • MT:90145fdbae33b067a8d11f6da936808a
  • MT:7e218be07f66c19ee920ebe5c3e55b2c
  • MG:62c956102b760827f25ffc3743d692ba
  • MT:99a32a10d47dcf7cb67d34474a8cc308

Created:

2016-11-16 13:12:29 UTC

Modified:

2017-02-13 06:13:37 UTC

2

Was this article helpful?


Have more questions?

Submit a request

Cannot open File manager: "Unable to get file (C:\\Inetpub\\vhosts\\domain.tld) attributes: (5) Access is denied"

Symptoms

Error when accessing the File Manager:

Internal error: Unable to get file (C:\\Inetpub\\vhosts\\domain.tld) attributes: (5) Access is denied. at execute "C:\\Program Files (x86)\\Parallels\\Plesk\\admin\\bin\\filemng.exe" domftp_user list dirs C:\\Inetpub\\vhosts\\domain.tld\\(RunTime::RunAsUser::run line 260) (Error code 1)

Error while trying to change permissions with the Plesk File manager:

Access is denied. (Error code 5) at retrieves attributes for file or directory D:\\Inetpub\\vhosts\\domain.tld\\.plesk\\.Security
at (fileExist line 94) at execute "C:\\Program Files (x86)\\Parallels\\Plesk\\admin\\bin\\filemng.exe" foobar --permissions --set-common "--file=D:\\Inetpub\\vhosts\\domain.tld\\httpdocs\\data" "--xml=tmp4E49.tmp" --inherit-from-parent(RunTime::RunAsUser::run line 221)
(Error code 1)

Access is denied. (Error code 5) at Open file 'C:\\Program Files (x86)\\Parallels\\Plesk\\PrivateTemp\\d3b08b981b493e5687c45518970bc225-1024-0.cache'; File: C:\\Program Files (x86)\\Parallels\\Plesk\\admin\\plib\\Plesk\\Base\\Utils\\File.php, Line: 192


Error: Access is denied. (Error code 5) at GetLongPathName('C:\\Inetpub\\vhosts\\domain.tld') at (VFileName::longFileName line 361)
at execute "C:\\Program Files (x86)\\Parallels\\Plesk\\admin\\bin\\filemng.exe" foobar --permissions --set-common "--file=D:\\Inetpub\\vhosts\\domain.tld\\httpdocs\ est" "--xml=tmp7682.tmp" --inherit-from-parent(RunTime::RunAsUser::run line 221)
(Error code 1)

Wrong XML tmpB3CC.tmp
at execute "C:\\Program Files (x86)\\Parallels\\Plesk\\admin\\bin\\filemng.exe" foobar --permissions --set-common "--file=D:\\Inetpub\\vhosts\\domain.tld\\httpdocs\\index.html" "--xml=tmpB3CC.tmp" --inherit-from-parent(RunTime::RunAsUser::run line 221)

Cause

  • Permissions on the virtual host directory are corrupted and the subscription's main FTP user does not have permission to access the subscription's directories.
  • Absence of 'Plesk Administrator' user in local Administrators group

Resolution

Ensure that the local Administrators group contains 'Plesk Administrator'

Fix the virtual host permissions in one of the following ways:

  1. Using Plesk Reconfigurator :

    1. Run Plesk Reconfigurator from Windows Start menu / Home screen.

    2. Choose Repair Plesk Installation -> Plesk Virtual Hosts Security only and press Check .

      NOTE: This will change the permission of the virtual host folder to the default and any custom permissions defined manually will be lost.

  2. Using command line utility repair.exe :

    1. Open command prompt cmd.exe as an administrator.

    2. To repair a single subscription, run:

      "%plesk_cli%\\repair.exe" --repair-webspace-security -webspace-name domain.tld
    3. To repair all subscriptions, run:

      "%plesk_cli%\\repair.exe" --repair-all-webspaces-security
Have more questions? Submit a request
Please sign in to leave a comment.