blob: ee685d5d09d33d5d36bf0bb1b411bd41cce6d587 [file] [log] [blame]
--! qt:authorizer
dfs ${system:test.dfs.mkdir} hdfs:///tmp/ct_noperm_loc;
dfs -chmod 777 hdfs:///tmp;
set user.name=user1;
-- this will succeed because everybody can write to /tmp
create table foo0(id int) location 'hdfs:///tmp/ct_noperm_loc_foo0';
-- this will fail because user1 cannot write to /tmp/ct_noperm_loc
create table foo1(id int) location 'hdfs:///tmp/ct_noperm_loc/foo1';