Search

hadoop fs -chmod

The hadoop chmod command is used to change the permissions of files. The -R option can be used to recursively change the permissions of a directory structure. The usage is shown below:
hadoop fs -chmod [-R] <mode | octal mode> <file or directory name>