Skip to content

Conversation

@alexjo2144
Copy link
Member

@alexjo2144 alexjo2144 commented May 8, 2023

Description

Users should not have the ability to write files into arbitary locations.

Additional context and related issues

Extracted first commit into #17389

Release notes

( ) This is not user-visible or docs only and no release notes are required.
( ) Release notes are required, please propose a release note for me.
(x) Release notes are required, with the following suggested text:

# Hive
* Remove session property overrides for `temporary-staging-directory-enabled` and `temporary-staging-directory-path`

@cla-bot cla-bot bot added the cla-signed label May 8, 2023
@alexjo2144 alexjo2144 force-pushed the hive/tmp-dir-overrides branch from c65691c to 30db1b7 Compare May 8, 2023 14:55
@raunaqmorarka raunaqmorarka requested a review from kokosing May 8, 2023 15:07
@kokosing
Copy link
Member

kokosing commented May 8, 2023

Isn't this part of access control to decide who can do what?

@github-actions github-actions bot added delta-lake Delta Lake connector hive Hive connector jdbc Relates to Trino JDBC driver tests:hive labels May 8, 2023
@alexjo2144 alexjo2144 force-pushed the hive/tmp-dir-overrides branch from 30db1b7 to 6cf120a Compare May 8, 2023 18:23
@findepi
Copy link
Member

findepi commented May 9, 2023

generally lgtm % excluded test #17390 (comment) and a test failure
please rebase & update as separate pushes

@alexjo2144 alexjo2144 force-pushed the hive/tmp-dir-overrides branch 2 times, most recently from a900498 to e13bdcc Compare May 9, 2023 13:14
@alexjo2144
Copy link
Member Author

Rebased and applied comments. Thanks all.

Users should not have the ability to write files into arbitary locations.
@alexjo2144 alexjo2144 force-pushed the hive/tmp-dir-overrides branch from e13bdcc to c56cdc6 Compare May 10, 2023 17:08
@alexjo2144 alexjo2144 requested a review from findepi May 10, 2023 20:32
@findepi findepi merged commit 0e27799 into trinodb:master May 12, 2023
@github-actions github-actions bot added this to the 418 milestone May 12, 2023
@alexjo2144 alexjo2144 deleted the hive/tmp-dir-overrides branch May 12, 2023 13:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed delta-lake Delta Lake connector hive Hive connector jdbc Relates to Trino JDBC driver

Development

Successfully merging this pull request may close these issues.

5 participants