You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (Jira)" <ji...@apache.org> on 2022/07/05 03:42:00 UTC

[jira] [Commented] (SPARK-39610) Add safe.directory for container based job

    [ https://issues.apache.org/jira/browse/SPARK-39610?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17562350#comment-17562350 ] 

Apache Spark commented on SPARK-39610:
--------------------------------------

User 'Yikun' has created a pull request for this issue:
https://github.com/apache/spark/pull/37079

> Add safe.directory for container based job
> ------------------------------------------
>
>                 Key: SPARK-39610
>                 URL: https://issues.apache.org/jira/browse/SPARK-39610
>             Project: Spark
>          Issue Type: Sub-task
>          Components: Project Infra
>    Affects Versions: 3.4.0
>            Reporter: Yikun Jiang
>            Priority: Major
>
> {code:java}
> ```
> fatal: unsafe repository ('/__w/spark/spark' is owned by someone else)
> To add an exception for this directory, call:
>     git config --global --add safe.directory /__w/spark/spark
> fatal: unsafe repository ('/__w/spark/spark' is owned by someone else)
> To add an exception for this directory, call:
>     git config --global --add safe.directory /__w/spark/spark
> Error: Process completed with exit code 128.
> ``` {code}
> https://github.blog/2022-04-12-git-security-vulnerability-announced/
> [https://github.com/actions/checkout/issues/760]
> ```yaml
>     - name: Github Actions permissions workaround
>       run: |
>         git config --global --add safe.directory ${GITHUB_WORKSPACE}
> ```



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org