fixed permission for files