1
0
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:
David Hill
2017-03-08 10:57:29 -06:00
parent cf98559f98
commit 37c0df2505
4 changed files with 14 additions and 16 deletions

View File

@@ -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 {