Add a user or group mapping using the ECS Portal

To provide NFS access to the file system (the bucket), you must map an object user who has permissions on the bucket to a UNIX User ID (UID) so that the UNIX user acquires the same permissions as the object user. Alternatively, you can map an ECS custom group that has permissions on the bucket to a UNIX Group ID (GID) to provide access for members of the UNIX group.

Prerequisites

  • This operation requires the Namespace Administrator or System Administrator role in ECS.
  • If you are a Namespace Administrator, you can add user or group mappings into your namespace.
  • If you are System Administrator, you can add user or group mappings into any namespace.
  • For mapping a single ECS object user to a UNIX user:
    • Ensure that the UID exists on the NFS client and the username is an ECS object username.
  • For mapping a group of ECS object users to a group of UNIX users:
    • Ensure that a default custom group has been assigned to the bucket (either a default group that was assigned at bucket creation, or a custom group ACL that was set after bucket creation). In order for UNIX group members to have access to the file system, a default custom group must be assigned to the bucket and the UID for each member of the group must be known to ECS. In other words, there must be a UNIX UID mapping for each member of the group in ECS.
    • Ensure that default object and directory permissions have been assigned to the bucket in order that group members have access to objects and directories created using object protocols.

Steps

  1. In the ECS Portal, select Manage > File and click the User/Group Mapping tab.
  2. Click New User/Group Mapping.
    The New User/Group Mapping page is displayed.
  3. In the User/Group Name field, type the name of the ECS object user or ECS custom group that you want to map to a UNIX UID or GID.
  4. In the Namespace field, select the namespace that the ECS object user or custom group belongs.
  5. In the ID field, enter the UNIX UID or GID that you want the ECS user or group to map to.
  6. In the Type field, click the type of mapping: User or Group so that ECS knows that the ID you have entered is a UID or a GID.
  7. Click Save.