Allow files access on cluster

Here is a code to allow the access to all files within a folder foo, in a project BAR, on the cluster, to all members having access to the BAR project:

#!/usr/bin/bash

setfacl -R -m group:BAR:rwx foo