- File Permissions
- Basic Permissions
- Managing Permissions
- Advanced Permissions
- Data Transfers
- Filezilla
- scp command
- rsync command
December 18, 2020
Every file and directory has permissions:
Permissions are given in the following format:
drwxrwxrwx 1 user group size date filename
Change the permissions of a file:
chmod u+x file_name
chmod g+w file_name
chmod o-r file_name
Change the group association of a file:
chgrp groupname file_name
GPFS ACLs
ACLs provide greater control over file permissions
# Get current permissions and store in acls file mmgetacl /path/to/file > ~/acls.txt # Edit acls file containing permissions vim ~/acls.txt # Apply new permissions to file mmputacl -i ~/acls.txt /path/to/file # Delete acls file rm ~/acls.txthttps://hpcc.ucr.edu/manuals_linux-cluster_security.html#gpfs-acls