1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-26 05:02:32 +03:00

MCOL-520 - amazon added sudo for chmod

This commit is contained in:
David Hill
2018-10-29 14:19:04 -05:00
parent 648a1e7436
commit cc158c9c96
2 changed files with 6 additions and 2 deletions

View File

@@ -1867,6 +1867,9 @@ void ProcessMonitor::processMessage(messageqcpp::ByteStream msg, messageqcpp::IO
if (WEXITSTATUS(status) != 0 )
{
//chmod before update, used on amazon ami EBS. not other systems
system("sudo chmod 666 /etc/fstab");
cmd = "echo " + entry + " >> /etc/fstab";
system(cmd.c_str());