@pvande when running as a regular user, we'll try to chown to the module directory owner. The user should have permission to `~/.puppet/modules`, but if you specify `--target-dir` to a directory you have permission to write to, but are not the owner of, then the chown will fail. More fundamentally, I don't see what benefit we are getting by the `chmod`