try and fix file permission tests