make chmod configurable