1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03: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:
unknown
2006-04-24 13:51:21 +02:00
parent d0711c7caa
commit 008da9b950

View File

@ -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;
# #