Skip to content

Incorrect permission setting for the pre-commit file #612

Closed
@devcrocod

Description

@devcrocod

After cloning the repository and trying to make local changes, I encountered a problem executing a commit due to limited access rights to the pre-commit file. This results in a Permission denied error and I can't commit:

13:02:59.977: [dataframe] git -c credential.helper= -c core.quotepath=false -c log.showSignature=false add --ignore-errors -A -f -- plugins/dataframe-gradle-plugin/src/test/kotlin/org/jetbrains/dataframe/gradle/DataFrameReadTest.kt core/src/test/kotlin/org/jetbrains/kotlinx/dataframe/jupyter/RenderingTests.kt core/src/main/kotlin/org/jetbrains/kotlinx/dataframe/jupyter/JupyterHtmlRenderer.kt core/src/main/kotlin/org/jetbrains/kotlinx/dataframe/io/json.kt build.gradle.kts
13:02:59.988: [dataframe] git -c credential.helper= -c core.quotepath=false -c log.showSignature=false commit -F /private/var/folders/h_/ln1cbg0j01vdr_636gjcr1wc0000kt/T/git-commit-msg-.txt --
/bin/sh: .git/hooks/pre-commit: Permission denied

IDEA: IU-242.1737
macOS: 14.2.1 (23C71)
git version 2.39.3 (Apple Git-145)

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions