Search Our Database

How to Create a tmp Directory if Files Cannot Be Uploaded to DirectAdmin

Last updated on |
by

If you are unable to upload a file in DirectAdmin and come across following error message, follow the steps below to create the tmp directory:

Unable to get a fd on /home/tmp/sccount.txtbqsDHL: Success
Ensure /home/tmp exists and is chmod to 1777. 

Creating The tmp Directory

1. ssh to the server and login as root

2. Create the tmp directory using the following command:

# mkdir -p /home/tmp

3. Modify the permissions for the created directory using the following command:

# chmod 1777 /home/tmp