You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-08-29 03:22:01 +03:00
MCOL-604 and MCOL-607 - change the chmod from 777 to 755
This commit is contained in:
@@ -950,11 +950,11 @@ void ProcessMonitor::processMessage(messageqcpp::ByteStream msg, messageqcpp::IO
|
||||
log.writeLog(__LINE__, "MSG RECEIVED: Start All process request...");
|
||||
|
||||
// change permissions on /dev/shm
|
||||
string cmd = "chmod 755 /dev/shm >/dev/null 2>&1";
|
||||
if ( !rootUser)
|
||||
cmd = "sudo chmod 777 /dev/shm >/dev/null 2>&1";
|
||||
|
||||
system(cmd.c_str());
|
||||
{
|
||||
cmd = "sudo chmod 755 /dev/shm >/dev/null 2>&1";
|
||||
system(cmd.c_str());
|
||||
}
|
||||
|
||||
//start the mysql daemon
|
||||
try {
|
||||
|
Reference in New Issue
Block a user