Support Questions
Find answers, ask questions, and share your expertise
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Dynamic Ranger Permissions


Dynamic Ranger Permissions

New Contributor

Data Scientist is wanting different permissions than original Ranger permissions on directory files after they initially land. Is this something that can be done in Ranger?


Re: Dynamic Ranger Permissions

Super Collaborator

Hi @Debra,

Inherently isn't possbile, but can be achieved easily using the Ranger REST api,

once the files arived to the directory update the policy with desired permissions. (pragmatically), the rest call can be achieved by curl PUT command using the resource


Ranger REST interface documentation(to update the policy) can be found here

Hope this helps !!

Don't have an account?
Coming from Hortonworks? Activate your account here