mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 20:42:30 +01:00
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 mysql-test/t/information_schema.test: Test it it works better to set no read access for a file by using 000 instead of -r
This commit is contained in:
parent
d0711c7caa
commit
008da9b950
1 changed files with 2 additions and 2 deletions
|
@ -798,9 +798,9 @@ DROP FUNCTION func2;
|
|||
#
|
||||
create database mysqltest;
|
||||
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';
|
||||
--exec chmod +r $MYSQLTEST_VARDIR/master-data/mysqltest
|
||||
--exec chmod 600 $MYSQLTEST_VARDIR/master-data/mysqltest
|
||||
drop database mysqltest;
|
||||
|
||||
#
|
||||
|
|
Loading…
Reference in a new issue