#!/bin/ksh

#fix some permissions and ownerships
#(only the ones that have actually gone bad)
#if you add to this, remember that some temporary files are nobody's

cd /home/gramene

xargs chgrp gramene <gramene_ensembl/gfiles
xargs chmod +r <gramene_ensembl/gfiles
xargs chmod g+w <gramene_ensembl/gfiles

xargs chgrp gramene <gramene_ensembl/gxfiles
xargs chmod +rx <gramene_ensembl/gxfiles
xargs chmod g+w <gramene_ensembl/gxfiles
