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] [Assigned] (SPARK-39610) Add safe.directory for container based job
[ https://issues.apache.org/jira/browse/SPARK-39610?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Apache Spark reassigned SPARK-39610:
------------------------------------
Assignee: Apache Spark
> 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
> Assignee: Apache Spark
> 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