Test it it works better to set no read access for a file by using 000 instead of -r

Looks like the trigger.test works that way
parent fd52c341
...@@ -798,9 +798,9 @@ DROP FUNCTION func2; ...@@ -798,9 +798,9 @@ DROP FUNCTION func2;
# #
create database mysqltest; create database mysqltest;
create table mysqltest.t1(a int); create table mysqltest.t1(a int);
--exec chmod -r $MYSQLTEST_VARDIR/master-data/mysqltest --exec chmod 000 $MYSQLTEST_VARDIR/master-data/mysqltest
select table_schema from information_schema.tables where table_schema='mysqltest'; select table_schema from information_schema.tables where table_schema='mysqltest';
--exec chmod +r $MYSQLTEST_VARDIR/master-data/mysqltest --exec chmod 600 $MYSQLTEST_VARDIR/master-data/mysqltest
drop database mysqltest; drop database mysqltest;
# #
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment