Fixed permissions not getting set