Set file system permissions

Depending on how different users interact with IBM Storage Scale, you must create a user directory with permissions that allow users to create their own home directories.

# mkdir -p /mnt/gpfs/user
# chmod 1777 /mnt/gpfs/user

To make sure that MapReduce jobs can write to the IBM Storage Scale file system, assign permissions to the CLUSTERADMIN user. CLUSTERADMIN is the user who starts Hadoop namenode and datanode service, for example, user hdfs.

# chown -R CLUSTERADMIN:CLUSTERADMINGROUP /mnt/gpfs
# chmod -R +rx /mnt/gpfs

Use the ls command to verify the permission settings:

# ls -lR /mnt/gpfs