cloudera / cloudera-scripts-for-log4j

Scripts for addressing log4j zero day security issue
Apache License 2.0
86 stars 68 forks source link

CDP restoring hdfs permissions #23

Closed EricDele closed 2 years ago

EricDele commented 2 years ago

When executing log4j delete_jndi_from_hdfs on CDP the permissions of the file are not restored and we got a hive error for a permission denied.

This PR restore the permissions on the file as it was before the patch.