How to test and see the difference between 1.2.1 and 1.2.2.
on centos 7 as non-root user, do the following:
install 1.2.1 centos 7 binary package as non-root user and run the following as root user.
You will see that all the directories is set to 777 permissions, which is what the BUG is about
rm -rf /var/log/mariadb/
/home/mysql/mariadb/columnstore/bin/syslogSetup.sh install --user=mysql
ll /var/log/mariadb/columnstore/
total 8
drwxrwxrwx 2 root root 6 Nov 29 22:41 archive
drwxrwxrwx 2 root root 6 Nov 29 22:41 corefiles
drwxrwxrwx 2 root root 6 Nov 29 22:41 trace
install 1.2.2 centos 7 binary package as non-root user and run the following.
The directories are now 750, which is more secure. 777 is wide open to all.
You will also notice that the debug/info logs are created with
"MariaDB Columnstore Installed". That wasnt in 1.2.1.
rm -rf /var/log/mariadb/
/home/mysql/mariadb/columnstore/bin/syslogSetup.sh install --user=mysql
ll /var/log/mariadb/columnstore/
drwxr-x--- 2 root root 6 Nov 29 22:46 archive
drwxr-x--- 2 root root 6 Nov 29 22:46 corefiles
rw------ 1 syslog adm 124 Nov 29 22:46 debug.log
rw------ 1 syslog adm 124 Nov 29 22:46 info.log
drwxr-x--- 2 root root 6 Nov 29 22:46 trace
How to test and see the difference between 1.2.1 and 1.2.2.
on centos 7 as non-root user, do the following:
install 1.2.1 centos 7 binary package as non-root user and run the following as root user.
You will see that all the directories is set to 777 permissions, which is what the BUG is about
rm -rf /var/log/mariadb/
/home/mysql/mariadb/columnstore/bin/syslogSetup.sh install --user=mysql
ll /var/log/mariadb/columnstore/
total 8
drwxrwxrwx 2 root root 6 Nov 29 22:41 archive
drwxrwxrwx 2 root root 6 Nov 29 22:41 corefiles
drwxrwxrwx 2 root root 6 Nov 29 22:41 trace
install 1.2.2 centos 7 binary package as non-root user and run the following.
The directories are now 750, which is more secure. 777 is wide open to all.
You will also notice that the debug/info logs are created with
"MariaDB Columnstore Installed". That wasnt in 1.2.1.
rm -rf /var/log/mariadb/
/home/mysql/mariadb/columnstore/bin/syslogSetup.sh install --user=mysql
ll /var/log/mariadb/columnstore/
drwxr-x--- 2 root root 6 Nov 29 22:46 archive
drwxr-x--- 2 root root 6 Nov 29 22:46 corefiles
rw------ 1 syslog adm 124 Nov 29 22:46 debug.logrw------ 1 syslog adm 124 Nov 29 22:46 info.logdrwxr-x--- 2 root root 6 Nov 29 22:46 trace