Description
Sentry doesn't check the uri privilege of command, CREATE INDEX LOCATION '/path'. For example,
[root@ay-s3-1 ~]# sudo -u hdfs hdfs dfs -getfacl -R /data/testindex # file: /data/testindex # owner: hdfs # group: hive user::rwx group::r-x other::r-x use systest> CREATE INDEX my_hdfs_table_index ON TABLE my_hdfs_table (viewtime) AS 'compact' WITH DEFERRED REBUILD LOCATION '/data/testindex';
Attachments
Attachments
Issue Links
- is duplicated by
-
SENTRY-1298 Create index location should require URI
- Resolved
- links to