MapR-FS Permissions

The MapR file system, MapR-FS, permissions are similar to the POSIX permissions model. Each file and directory is associated with a user (the owner) and a group. You can set read, write, and execute permissions separately for:

  • the owner of the file or directory.
  • members of the group associated with the file or directory.
  • all other users.

The permissions for a file or directory are called its mode. The mode of a file or directory can be expressed in two ways:

  • Text - a string that indicates the presence of the read (r), write (w), and execute (x) permission or their absence (-) for the owner, group, and other users respectively. Example: rwxr-xr-x
  • Octal - three octal digits (for the owner, group, and other users), that use individual bits to represent the three permissions. Example: 755

Both rwxr-xr-x and 755 represent the same mode; the owner has all permissions, and the group and other users have read and execute permissions only.