Project gdata group ownership can be checked and fixed in the following way:
[ab2345@gadi-login-01 ~]$ nci-files-report --group rr33 --------------------BREAKDOWN BY PROJECT, GROUP, AND USER-------------------- FILESYSTEM SCAN DATE PROJECT GROUP USER SPACE USED TOTAL SIZE COUNT gdata 2023-06-19 ww22 rr33 ab2345 170.1G 170.1G 16774 gdata 2023-06-19 rr33 rr33 xy6789 249.4G 249.4G 226 [...] -----------------------------------------------------------------------------
The above output for project rr33 shows that the data in /g/data/ww22 owned by the user ab2345 is owned by the incorrect group rr33, instead of ww22.
To fix this issue, login as the user ab2345 and execute the following command to transfer the project group ownership to ww22 for all the data in /g/data/ww22 owned by the user ab2345 and apply group sticky bit to all directories to ensure that all future data in /g/data/ww22 is always created under the ww22 project ownership:
[ab2345@gadi-login-01 ~]$ my_project=ww22 [ab2345@gadi-login-01 ~]$ find /g/data/$my_project -user $USER -a \( \( \! -group $my_project -exec chgrp -ch $my_project {} + \) , \( -type d \! -perm -g+s -exec chmod -c g+s {} + \) \) 2> /dev/null
Important