Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

permission denied #4101

Open
Abbath opened this issue Dec 5, 2024 · 2 comments
Open

permission denied #4101

Abbath opened this issue Dec 5, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@Abbath
Copy link

Abbath commented Dec 5, 2024

Describe the bug
lazygit crashes on start with

2024/12/05 10:54:28 An error occurred! Please create an issue at: https://github.com/jesseduffield/lazygit/issues

*fs.PathError open /dev/tty: permission denied
/home/runner/work/lazygit/lazygit/pkg/app/app.go:55 (0xbd2e5d)
/home/runner/work/lazygit/lazygit/pkg/app/entry_point.go:167 (0xbd4fa5)
/home/runner/work/lazygit/lazygit/main.go:23 (0xbd68f8)
/opt/hostedtoolcache/go/1.22.7/x64/src/runtime/internal/atomic/types.go:194 (0x43ff5d)
/opt/hostedtoolcache/go/1.22.7/x64/src/runtime/asm_amd64.s:1695 (0x477e81)

latest master crashes with

2024/12/05 11:03:16 An error occurred! Please create an issue at: https://github.com/jesseduffield/lazygit/issues

*fs.PathError open /dev/tty: permission denied
/home/lizanets/C/lazygit/pkg/app/app.go:55 (0xbd9f5d)
        Run: newErr := errors.Wrap(err, 0)
/home/lizanets/C/lazygit/pkg/app/entry_point.go:167 (0xbdc0a5)
        Start: Run(appConfig, common, appTypes.NewStartArgs(cliArgs.FilterPath, parsedGitArg, integrationTest))
/home/lizanets/C/lazygit/main.go:23 (0xbdd9f8)
        main: app.Start(ldFlagsBuildInfo, nil)
/usr/lib/go-1.22/src/runtime/internal/atomic/types.go:194 (0x441d5d)
        (*Uint32).Load: return Load(&u.value)
/usr/lib/go-1.22/src/runtime/asm_amd64.s:1695 (0x479ec1)
        goexit: BYTE    $0x90   // NOP
exit status 1

To Reproduce
just run lazygit

Expected behavior
lazygit running

Version info:
commit=611fabde11d24d9acc71ee26077b9a1101f59f27, build date=2024-09-18T10:56:10Z, build source=binaryRelease, version=0.44.1, os=linux, arch=amd64, git version=2.43.0

OS: Kubuntu 24.04 6.8.0-49-generic

@Abbath Abbath added the bug Something isn't working label Dec 5, 2024
@mark2185
Copy link
Collaborator

mark2185 commented Dec 5, 2024

/home/runner sounds like it's running some sort of a container. Is it?

@Abbath
Copy link
Author

Abbath commented Dec 5, 2024

No

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants