Unable to create subdomain: Cannot create directory /sub.example.com: Permission denied

Created:

2016-11-16 13:12:08 UTC

Modified:

2017-08-08 13:23:36 UTC

2

Was this article helpful?


Have more questions?

Submit a request

Unable to create subdomain: Cannot create directory /sub.example.com: Permission denied

Applicable to:

  • Plesk for Linux
  • Plesk 12.5 for Windows

Symptoms

Unable to create subdomain:

vhostmng-structure failed: Cannot create directory /sub.example.com: Permission denied
System error 13: Permission denied

Cause

Incorrect permissions for main domain.

Resolution

  1. Check virtual hosts' file system permissions using command:

    # plesk repair fs -n
  2. Restore virtual hosts' file system permissions using interactive mode:

    # plesk repair fs

    or restore all permission automatically:

    # plesk repair fs -y

If solution doesn't help check #213396309 Cannot change DocumentRoot: vhostmng-structure failed: Cannot create directory /var/www

Have more questions? Submit a request
Please sign in to leave a comment.