[MCOL-1332] Instructions needed for non-root cpimport user Created: 2018-04-10  Updated: 2023-11-17  Resolved: 2022-11-05

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

Type: Bug Priority: Minor
Reporter: Juan Assignee: Unassigned
Resolution: Won't Do Votes: 0
Labels: None


 Description   

Users sometimes request instructions on how to configure cpimport to work with a non-root user. Apparently there used to be some directions on how to do this in InfiniDB as alluded to in this support issue, but not present in our current docs.

One of our VPs has been kind enough to provide this explanation, but a proper entry in the KB would help users as well:

With a root install, there are some additional steps to run cpimport as a
non root user with mode 1. The simplest is to setuid root the cpimport
process:
 
sudo chmod +s /usr/local/mariadb/columnstore/bin/cpimport
 
or you can broaden the privileges of each pm data directory, for example:
 
cd /usr/local/mariadb/columnstore
chmod 777 -R data1
 
The reason it works in mode 2 is because the cpimport invocation is actually
triggering a local cpimport process invocation on each pm which is launched
as root.



 Comments   
Comment by Andrew Hutchings (Inactive) [ 2019-07-10 ]

Don't do that

Comment by Todd Stoffel (Inactive) [ 2022-11-05 ]

This item is being closed because it was well passed the expiration date with no activity. If you suspect this was done in error please create a new ticket.

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