Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

1. Once you get added to a TACC allocation, you will belong to the group (gid) associated with that allocation.

2. A user can belong to multiple groups, but will have a default group.

3. In order to make a directory and its contents readable by a group, say, 801020, do the following:

chgrp -R 801020 directoryname
chmod -R -g+rX directoryname

4. In order to avoid doing this for every file you create, add the following to your profile: This will make sure files that you generate will automatically be group readable.

umask 002

You'll also need to change from your default group to the group the client belongs to.

newgrp -G-801020

5. Alternatively, you can set the group ID on a client's directory, and then set the setgid flag on the directory so that all subdirectories and files created in the directory from that time forward inherit the same group ID:

chgrp 801020 directoryname
chmod g+s directoryname

Finding The Group ID For An Allocation

A list of group IDs and users associated with the group is in the file /etc/group on Lonestar. Using grep with usernames should let you narrow down which group ID is associated with which allocation.

  • No labels