Move the c4 symlink for rootless installations

Details

Detail name Value
Changelog Number 21382
Type Improvement
Status Resolved
Fix Versions Exasol 8.29.2
Resolution Date 2024-08-29

Background

c4 used to create a symlink in /usr/local/bin/c4.

Respective installation step required root privileges.

Improvement

In rootless on-prem installations, the c4 symlink is now created in the user’s home directory in $HOME/.local/bin/c4 instead of /usr/local/bin/c4.

This change implies the following:

  • The c4 symlink is created in $HOME/.local/bin/c4 instead of /usr/local/bin/c4.
  • The c4 _ preplay script no longer creates the symlink in /usr/local/bin/c4.
  • The $HOME/.local/bin is also added to the user's PATH variable, if it is not already there.