v.23.3Improvement

Self-Extraction with 'sudo' Sets Uid and Gid to Running User

Self-extraction with 'sudo' will attempt to set uid and gid of extracted files to running user. #47116 (Yakov Olkhovskiy).
ClickHouse now supports self-extraction with sudo, which attempts to set the uid and gid of extracted files to the running user.

Why it matters

This feature ensures that when using sudo to extract files, the ownership of those files is correctly assigned to the actual user running the process, preventing permission issues and improving security and file management.

How to use it

When performing self-extraction with elevated privileges via sudo, the tool automatically attempts to set the uid and gid of the extracted files to those of the running user without requiring additional user action.