remove unnecessary sudo for chmod

Fixes #585