1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-30 19:23:07 +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

@ -119,11 +119,11 @@ int main(int argc, char **argv)
USER = p;
// change permissions on /dev/shm
string cmd = "chmod 777 /dev/shm >/dev/null 2>&1";
if ( !rootUser)
cmd = "sudo chmod 777 /dev/shm >/dev/null 2>&1";
system(cmd.c_str());
{
string cmd = "sudo chmod 755 /dev/shm >/dev/null 2>&1";
system(cmd.c_str());
}
// get and set locale language
string systemLang = "C";