You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-08-01 06:46:55 +03:00
Merge pull request #523 from mariadb-corporation/MCOL-1579
MCOL-1579 Remove chmod of /dev/shm
This commit is contained in:
@ -247,7 +247,6 @@ else
|
||||
$SUDO chmod 777 /tmp
|
||||
$installdir/bin/syslogSetup.sh --installdir=$installdir install > /tmp/syslog_install.log 2>&1
|
||||
$SUDO chown $user:$user $installdir/etc/Columnstore.xml
|
||||
$SUDO chmod -R 777 /dev/shm
|
||||
$SUDO mkdir /var/lock/subsys > /dev/null 2>&1
|
||||
$SUDO chmod 777 /var/lock/subsys > /dev/null 2>&1
|
||||
$SUDO rm -f /var/lock/subsys/mysql-Columnstore
|
||||
|
@ -131,13 +131,6 @@ int main(int argc, char **argv)
|
||||
if (p && *p)
|
||||
USER = p;
|
||||
|
||||
// change permissions on /dev/shm
|
||||
if ( !rootUser)
|
||||
{
|
||||
string cmd = "sudo chmod 777 /dev/shm >/dev/null 2>&1";
|
||||
system(cmd.c_str());
|
||||
}
|
||||
|
||||
// get and set locale language
|
||||
string systemLang = "C";
|
||||
|
||||
|
@ -988,13 +988,6 @@ void ProcessMonitor::processMessage(messageqcpp::ByteStream msg, messageqcpp::IO
|
||||
int requestStatus = oam::API_SUCCESS;
|
||||
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());
|
||||
|
||||
//start the mysqld daemon
|
||||
try {
|
||||
oam.actionMysqlCalpont(MYSQL_START);
|
||||
|
Reference in New Issue
Block a user