Commit ed24b8bacc739b072a789ca7396e46bd751ca2ec

Edward Thomson 2022-07-05T23:47:15

repo: allow users running with sudo to access their repositories In the ownership checks implemented for CVE-2022-24765, we disallowed users to access their own repositories when running with `sudo`. Examine the `SUDO_UID` environment variable and allow users running with `sudo`. This matches git's behavior.