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

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

Yikun Jiang created SPARK-39610:
-----------------------------------

             Summary: 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


{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.7#820007)

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