add chmod with changing owner snippet