1. Home
  2. VPS
  3. DirectAdmin
  4. Parent directory does not allow write, or one of the directories didn’t allow search (execution) permission

Parent directory does not allow write, or one of the directories didn’t allow search (execution) permission

You may experience in some situations the following error:

Parent directory does not allow write, or one of the directories didn't allow search (execution) permission

This may happen during backups, domain creation or other situations. Here is an example of a backup error:

Unable to create backup directory (uid=diradmin): /home/tmp/username.random : <b>Parent directory does not allow write, or one of the directories didn't allow search (execution) permission</b>


Although a backup error has occurred, the upload of valid backups would have still been attempted to ftp://server.com <5:00:01>

To resolve this, simply run the following commands:

cd /usr/local/directadmin/scripts
sh set_permissions.sh all
service mysqld restart

This will set the required permissions. The restart of the MySQL or MariaDB server is required as the updated permissions will make MySQL/MariaDB crash.

Updated on June 2, 2017

Was this article helpful?

Related Articles