MapR's file-level security model is consistent with the Linux implementation. When you access the MapR-FS layer over NFS, the file-level permissions are controlled through the Linux interface by using the
chmod (change mode) command or the
chown (change owner) command, as well as the
fs -chmod and
hadoop fs -chown equivalents. For example:
These commands grant a user whose username is
jsmith the read, write, and execute privileges on
Once you set file permissions, authorization checks are performed when a file is opened, and on every file access.