Updated on 2024-01-26 GMT+08:00

Node Key Directory File Permissions

Check Item

Check whether the key directory /var/paas on the nodes contain files with abnormal owners or owner groups.

Solution

  • Scenario 1: The error message "xx file permission has been changed!" is displayed.

    Solution: Enable CCE to use the /var/paas directory to manage nodes and store file data whose owner and owner group are both paas.

    During the current cluster upgrade, the owner and owner group of the files in the /var/paas directory are reset to paas.

    Check whether file data is stored in the /var/paas directory. If yes, do not use this directory, remove abnormal files from this directory, and check again. Otherwise, the upgrade is prohibited.

  • Scenario 2: The error message "user paas must have at least read and execute permissions on the root directory" is displayed.

    Solution: Change the permission on the root directory to the default permission 555. If the permission on the root directory of the node is modified, user paas does not have the read permission on the root directory. As a result, restarting the component failed during the upgrade.