Symptoms
When creating an account, you receive an error that you're unable to open and write to the disk due to the permissions:
The disk-write test failed to write 1 MB to a temporary file (/home/$user/.cPquotatest.5f4dbc46.1f35.10ec6ea) because of an error: open(/home/$user/.cPquotatest.5f4dbc46.1f35.10ec6ea): Permission denied (EUID: 1234).
Description
This often occurs due to the permissions of the user's home folder. Correcting the permissions should resolve the error.
Workaround
Verify the permissions of the user's home folder are correct. A user's home folders should be owned by their user and group:
[root@server ]# stat /home/$user
File: ‘$user’
Size: 4096 Blocks: 8 IO Block: 4096 directory
Device: 803h/2051d Inode: 549341383 Links: 21
Access: (0711/drwx--x--x) Uid: ( 1000/$user) Gid: ( 1000/$user)
Access: 2020-08-28 11:50:17.128000000 +0800
Modify: 2020-02-19 11:13:52.000000000 +0800
Change: 2020-07-24 03:06:29.725000000 +0800
Birth: -
If the "Access" ownership Uid and Gid list anything other than the username, change them with the chown command, replacing the '$user' parameter with the cPanel username:
chown $user:$user /home/$user
Comments
0 comments
Article is closed for comments.