Added several checks for umask in "c4 host diag"

Details

Detail name Value
Changelog Number 20921
Type Improvement
Status Resolved
Fix Versions C4 4.26.0, Exasol 8.29.10, C4 4.19.7, Exasol 2025.1.0
Resolution Date 2025-05-12

Background

The on-prem v8 installations require umask for the Exasol host user and the root user to be 022 or lower. If it was higher, e.g., 027, the installation would fail. The error was obscure and it was difficult for the user to deduce that it is a umask problem.

Improvement

We added 3 new checks to the c4 host diag command. The command now checks:

  • The umask of the Exasol user is lower than 022
  • The umask of the root user is lower than 022
  • The global default umask in /etc/login.defs is lower than 022

As a result, it is much easier now to diagnose any umask related problems.