The build system is a bit limited, only the repository directory and LGTM_WORKSPACE is writable. sudo doesn't work at all, for others we don't have enough permission.