share/functions.sh: added new function set_permissions_and_group.
share/functions.sh: added new function set_permissions_and_group.

fw1121/genomics,fw1121/genomics,fw1121/genomics,fw1121/genomics,fw1121/genomics