The system failed to set the user ID
We are currently running cPanel 11.102.0.32 and received a prompt about a kernel update this morning. I went ahead and ran "sudo yum -y update" and rebooted. The kernel was successfully updated and everything seems to be working. However, during the update command we did receive some errors:
[QUOTE]
Setting /home permissions to 0711 "
Setting permissions for users "
************* "
(XID xk32rs) The system failed to set the user ID to "1004" and the group ID to "1007" on "/home/*************/public_html" because of an error: Operation not permitted at /usr/local/cpanel/scripts/enablefileprotect line 52.
(XID snaj4x) The system failed to set the permissions on "/home/*************/public_html" to "0750" (as EUID: 1004, EGID: 1007 1007) because of the following error: Operation not permitted at /usr/local/cpanel/scripts/enablefileprotect line 52.
(XID 57r8d4) The system failed to set the user ID to "1004" and the group ID to "1007" on "/home/*************/public_html*****" because of an error: Operation not permitted at /usr/local/cpanel/scripts/enablefileprotect line 52.
(XID e7ycsb) The system failed to set the permissions on "/home/*************/public_html*****" to "0750" (as EUID: 1004, EGID: 1007 1007) because of the following error: Operation not permitted at /usr/local/cpanel/scripts/enablefileprotect line 52.
(XID 3jpv68) The system failed to set the user ID to "1004" and the group ID to "1007" on "/home/*************/public_html*****" because of an error: Operation not permitted at /usr/local/cpanel/scripts/enablefileprotect line 52.
(XID waqrmn) The system failed to set the permissions on "/home/*************/public_html*****" to "0750" (as EUID: 1004, EGID: 1007 1007) because of the following error: Operation not permitted at /usr/local/cpanel/scripts/enablefileprotect line 52.
(XID fmwzjr) The system failed to set the user ID to "1004" and the group ID to "1007" on "/home/*************/public_html*****" because of an error: Operation not permitted at /usr/local/cpanel/scripts/enablefileprotect line 52.
(XID m6exhr) The system failed to set the permissions on "/home/*************/public_html*****" to "0750" (as EUID: 1004, EGID: 1007 1007) because of the following error: Operation not permitted at /usr/local/cpanel/scripts/enablefileprotect line 52.
(XID q7haja) The system failed to set the user ID to "1004" and the group ID to "1007" on "/home/*************/public_html*****" because of an error: Operation not permitted at /usr/local/cpanel/scripts/enablefileprotect line 52.
(XID f3wcax) The system failed to set the permissions on "/home/*************/public_html*****" to "0750" (as EUID: 1004, EGID: 1007 1007) because of the following error: Operation not permitted at /usr/local/cpanel/scripts/enablefileprotect line 52.
(XID bt53rz) The system failed to set the user ID to "1004" and the group ID to "1007" on "/home/*************/public_html*****" because of an error: Operation not permitted at /usr/local/cpanel/scripts/enablefileprotect line 52.
(XID duxst6) The system failed to set the permissions on "/home/*************/public_html*****" to "0750" (as EUID: 1004, EGID: 1007 1007) because of the following error: Operation not permitted at /usr/local/cpanel/scripts/enablefileprotect line 52.
(XID 4gxxcw) The system failed to set the user ID to "1004" and the group ID to "1007" on "/home/*************/public_html*****" because of an error: Operation not permitted at /usr/local/cpanel/scripts/enablefileprotect line 52.
(XID hstbp9) The system failed to set the permissions on "/home/*************/public_html*****" to "0750" (as EUID: 1004, EGID: 1007 1007) because of the following error: Operation not permitted at /usr/local/cpanel/scripts/enablefileprotect line 52.
(XID 5htyt7) The system failed to set the user ID to "1004" and the group ID to "1007" on "/home/*************/public_html*****" because of an error: Operation not permitted at /usr/local/cpanel/scripts/enablefileprotect line 52.
(XID fuzn5f) The system failed to set the permissions on "/home/*************/public_html*****" to "0750" (as EUID: 1004, EGID: 1007 1007) because of the following error: Operation not permitted at /usr/local/cpanel/scripts/enablefileprotect line 52.
(XID zpavaa) The system failed to set the user ID to "1004" and the group ID to "1007" on "/home/*************/public_html*****" because of an error: Operation not permitted at /usr/local/cpanel/scripts/enablefileprotect line 52.
(XID s2p4pc) The system failed to set the permissions on "/home/*************/public_html*****" to "0750" (as EUID: 1004, EGID: 1007 1007) because of the following error: Operation not permitted at /usr/local/cpanel/scripts/enablefileprotect line 52.
(XID n9uc25) The system failed to set the user ID to "1004" and the group ID to "1007" on "/home/*************/public_html*****" because of an error: Operation not permitted at /usr/local/cpanel/scripts/enablefileprotect line 52.
(XID fm5qqj) The system failed to set the permissions on "/home/*************/public_html*****" to "0750" (as EUID: 1004, EGID: 1007 1007) because of the following error: Operation not permitted at /usr/local/cpanel/scripts/enablefileprotect line 52.
(XID udpzn6) The system failed to set the user ID to "1004" and the group ID to "1007" on "/home/*************/public_html*****" because of an error: Operation not permitted at /usr/local/cpanel/scripts/enablefileprotect line 52.
(XID pesspm) The system failed to set the permissions on "/home/*************/public_html*****" to "0750" (as EUID: 1004, EGID: 1007 1007) because of the following error: Operation not permitted at /usr/local/cpanel/scripts/enablefileprotect line 52.
(XID hd6drg) The system failed to set the user ID to "1004" and the group ID to "1007" on "/home/*************/public_html*****" because of an error: Operation not permitted at /usr/local/cpanel/scripts/enablefileprotect line 52.
(XID n4ub32) The system failed to set the permissions on "/home/*************/public_html*****" to "0750" (as EUID: 1004, EGID: 1007 1007) because of the following error: Operation not permitted at /usr/local/cpanel/scripts/enablefileprotect line 52.
stardundee "
pangu "
****** "
(XID un3zfy) The system failed to set the user ID to "1005" and the group ID to "1008" on "/home/******/public_html" because of an error: Operation not permitted at /usr/local/cpanel/scripts/enablefileprotect line 52.
(XID 5maa28) The system failed to set the permissions on "/home/******/public_html" to "0750" (as EUID: 1005, EGID: 1008 1008) because of the following error: Operation not permitted at /usr/local/cpanel/scripts/enablefileprotect line 52.
We have other folders under /home that were not listed with errors. Have you seen this before?
We have other folders under /home that were not listed with errors. Have you seen this before?
-
Hey there! Is there any particular reason that you're running version 102? That version is far out of date now, so you're a bit behind on security fixes and updates. As far as the actual error, it is likely due to permissions on the directories. You'd want to check both /home/username and /home/username/public_html to see where the issue lies. For reference, /home/username should be 711 with username:username ownership, and public_html is typically 755, also with username:username ownership. With fileprotect enabled, the public_html directory would be 750 with username:nobody ownership. 0 -
Thanks for your response. The only reason for running 102 is that it was the LTS and we like to stay on that version for stability. I had been waiting for the next LTS and didn't think it had been released yet but I can see that it is now 110. Regarding the permissions, I confirmed that they are 711 for /home/username and 755 for /home/username/public_html. However, the usernames listed in the errors above have nobody:nobody ownership for some reason. 0 -
That's likely the issue - change that ownership and see if you run into the same issue. 0
Please sign in to leave a comment.
Comments
3 comments