cPanel updates (/scripts/upcp, usually an automatic updtes) filed to complete and email following message

"The find-immutable-files script, run by the cPanel & WHM update process (/scripts/upcp), found 1 file distributed by cPanel marked as immutable on your server.cPanel & WHM cannot update until you make this file mutable. The list of immutable files is located on your server at "/var/cpanel/immutable_files".The file found is: /usr/local/cpanel/bin/ftpupdate The find-immutable-files script was run, because one or more immutable files found on a previous run (Sun Jun 5 03:00:20 2011) still remained, and had not been made mutable."

The message particularly specifies the file "/usr/local/cpanel/bin/ftpupdate" as immutable. Usually the file /usr/local/cpanel/bin/ftpupdate is made immutable with attributes. This is done after disabling default FTP accounts (FTP using cpanel username and password).

We can check the attributes set on /usr/local/cpanel/bin/ftpupdate as

# lsattr /usr/local/cpanel/bin/ftpupdate
-u--ia-A----- /usr/local/cpanel/bin/ftpupdate // shows attributes u, i, a, A are set on the file and made it immutable.

Make the file mutable by removing attributes on it

# chattr -uiaA /usr/local/cpanel/bin/ftpupdate
Remove entry for the file from /var/cpanel/immutable_files and check if FTP server is set for inherit in WHM >> cpanel update preferences.

Now run upcp to update FTP server as well.

# /scripts/upcp --force