To change the permissions of a file or directory in HDFS, which command would you use?

Answer

hadoop fs -chmod

Explanation

The command 'hadoop fs -chmod' is used to change the permissions of files or directories in HDFS, similar to the Unix 'chmod' command.

Last reviewed: October 2026

Reviewed by FirstInTest Editorial Team

Report an error
QuestionBack to list