rename function
test that intermediate directory is group writable