Unable to mkstemp to create a tmpfile in /home/tmp: Permission denied

0
316

Comman error lately caused in DirectAdmin panel. This problem doesnot allow users and admins to upload files via directadmin panel and show error and some time not thing appear.

Actually, this is the error appearing in your access page, after uploading the files.

Unable to mkstemp to create a tmpfile in /home/tmp: Permission denied

The error is Permission denied for user to upload the file!

So, how are we going to solve it! Firstly, it shows where is the denied location?

Here it is!

/home/tmp

What we will do at this location?

We are going to give permission for users to upload to this location so it will allow us to upload the files.

You have to open SSH shell root access for your server and run this command.

chmod 0777 /home/tmp

Now, try to upload files and let me know any things happen in comments to help you.

You could face same problem for different thing, it is possible to use same solving way for the right location.

Good luck!

Leave A Reply

Please enter your comment!
Please enter your name here