Set file permission for updated catalog.json automatically