Set permissions in generic autodeploy. Also ignore log/*