1 export GLOBUS_LOCATION=/opt/gt/4.0.8
2 . /opt/gt/4.0.8/etc/globus-user-env.sh
3 ## arg 1: the new package version
5 groupadd -r globus 2>&- >&-
6 useradd -r -m -g globus globus 2>&- >&-
7 chown globus:globus -R $GLOBUS_LOCATION 2>&- >&-
8 find $GLOBUS_LOCATION -type f -exec chmod 0664 {} \; 2>&- >&-
9 find $GLOBUS_LOCATION -type d -exec chmod 0755 {} \; 2>&- >&-
10 find $GLOBUS_LOCATION/{{,s}bin,lib{,exec}} -type f -exec chmod 0775 {} \; 2>&- >&-
11 find $GLOBUS_LOCATION/etc -type f -name "*.sh" -exec chmod +x {} \; 2>&- >&-
13 echo "-> Now for the configuring.. read www.globusconsortium.org/tutorial"