Set permission and deploy at compile-time.