How to display the Access Control Lists (ACLs) of files and directories in HDFS?

Big Data Hadoop

I have uploaded some files to HDFS. I want to display the Access Control Lists (ACLs) of files and directories. How can I do that?



It is possible to access the access control list of files and directories in HDFS. The getfacl command will help you in displaying the access control lists. Below is the representation of the command.

$ hdfs dfs -getfacl /hadoop

# file: /hadoop

# owner: ubuntu

# group: supergroup


If you want to unleash your potential in this competitive field, please visit the Big Data Hadoop course page for more information, where you can find the Big Data Hadoop tutorials and Big Data Hadoop frequently asked interview questions and answers as well.


This topic has been locked/unapproved. No replies allowed

Login to participate in this discussion.

Leave a reply

Before proceeding, please check your email for a verification link. If you did not receive the email, click here to request another.