In these cases, `destdir` is always a tempdir that was created specifically for this module installation, so the `chown` will always go through; the module directory is then copied into the specified `--target-dir`.

As for the `chmod`, it effectively just restricts writes from other users (which seems prudent) and ensures that nothing in the module is marked executable (which seems prudent).