diff options
author | James Fargher <jfargher@gitlab.com> | 2023-02-16 05:31:47 +0300 |
---|---|---|
committer | James Fargher <jfargher@gitlab.com> | 2023-02-16 05:35:45 +0300 |
commit | df068cab55dddb55e524fa4fb1ddb81cde91672e (patch) | |
tree | b08a1f75488f16ee894e0a99dbe2408a75f6e646 /internal/git/execution_environment_test.go | |
parent | 75efe1fc84ba6f5b8d0797fbdc8fa74845a196ba (diff) |
perm: Remove public executable permission
There was only a single usage of this permission and it was in tests.
Since there are no real use-cases for this permission we should remove
it.
Diffstat (limited to 'internal/git/execution_environment_test.go')
-rw-r--r-- | internal/git/execution_environment_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/git/execution_environment_test.go b/internal/git/execution_environment_test.go index 59aea70bd..50d22194c 100644 --- a/internal/git/execution_environment_test.go +++ b/internal/git/execution_environment_test.go @@ -74,7 +74,7 @@ func TestBundledGitEnvironmentConstructor(t *testing.T) { seedDirWithExecutables := func(t *testing.T, executableNames ...string) string { dir := testhelper.TempDir(t) for _, executableName := range executableNames { - require.NoError(t, os.WriteFile(filepath.Join(dir, executableName), nil, perm.PublicExecutable)) + require.NoError(t, os.WriteFile(filepath.Join(dir, executableName), nil, perm.SharedExecutable)) } return dir } |