Set permissions including on files