HDFS File Permissions
Let us go through file permissions in HDFS.
- As we create the files, we can check the permissions on them using -ls command.
- Typically the owner of the user space will have rwx, while members of the group specified as well as others have rx
- We can change the permissions using hadoop fs -chmod
- We can specify permissions mode (e.g.: +x to grant execute access to owner, grop as well as others) as well as octal mode (e.g.: 755 to grant rwx for owner, rx for group and others)