[MCOL-1723] /tmp/columnstore_tmp_files needs permissions or owner set for non-root Created: 2018-09-14  Updated: 2019-07-10  Resolved: 2019-07-10

Status: Closed
Project: MariaDB ColumnStore
Component/s: ?
Affects Version/s: None
Fix Version/s: Icebox

Type: Bug Priority: Major
Reporter: Andrew Hutchings (Inactive) Assignee: Unassigned
Resolution: Won't Do Votes: 1
Labels: None


 Description   

If post-install is run as root /tmp/columnstore_tmp_files gets set as root owner with 775 permissions which means it is not writable by the non-root user.

It should either be owned by the non-root user or have permissions set to 777 (preferably the former). This could be solved by having the directory created at usage time rather than at install time (where tmpfs may erase it at reboot time anyway).

Reproduction steps are likely:

  1. Install a multi-node setup as non-root
  2. As part of the install run post-install as root
  3. Run getmodulecpuusers from mcsadmin

Generated at Thu Feb 08 02:30:53 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.