Fix files permissions