fixed file / directory permissions