Fix files' permissions