[ 
https://issues.apache.org/jira/browse/HADOOP-18202?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Shilun Fan updated HADOOP-18202:
--------------------------------
        Hadoop Flags: Reviewed
    Target Version/s: 3.3.3, 3.4.0
         Description: 
The first git command in the create-release docker container is failing as git 
doesn't consider /build/source to belong to the current user.

since CVE-2022-24765 and the april 2022 git releases to refuse to work in such 
directories

https://github.blog/2022-04-12-git-security-vulnerability-announced/

{code}

$ /usr/bin/git clean -xdf -e /patchprocess
fatal: unsafe repository ('/build/source' is owned by someone else)
To add an exception for this directory, call:

        git config --global --add safe.directory /build/source

{code}


  was:

The first git command in the create-release docker container is failing as git 
doesn't consider /build/source to belong to the current user.

since CVE-2022-24765 and the april 2022 git releases to refuse to work in such 
directories

https://github.blog/2022-04-12-git-security-vulnerability-announced/

{code}

$ /usr/bin/git clean -xdf -e /patchprocess
fatal: unsafe repository ('/build/source' is owned by someone else)
To add an exception for this directory, call:

        git config --global --add safe.directory /build/source

{code}



> create-release fails fatal: unsafe repository ('/build/source' is owned by 
> someone else)
> ----------------------------------------------------------------------------------------
>
>                 Key: HADOOP-18202
>                 URL: https://issues.apache.org/jira/browse/HADOOP-18202
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 3.3.5, 3.3.3
>            Reporter: Steve Loughran
>            Assignee: Steve Loughran
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 3.4.0, 3.3.3
>
>          Time Spent: 1h 40m
>  Remaining Estimate: 0h
>
> The first git command in the create-release docker container is failing as 
> git doesn't consider /build/source to belong to the current user.
> since CVE-2022-24765 and the april 2022 git releases to refuse to work in 
> such directories
> https://github.blog/2022-04-12-git-security-vulnerability-announced/
> {code}
> $ /usr/bin/git clean -xdf -e /patchprocess
> fatal: unsafe repository ('/build/source' is owned by someone else)
> To add an exception for this directory, call:
>       git config --global --add safe.directory /build/source
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to