Getting a "permission denied" error when trying to enter hidden directory on Kubuntu 22.04.1
HuoKnight opened this issue · 0 comments
HuoKnight commented
I just downloaded llama via snap, and ran it on the home directory. Whenever I try to enter a hidden directory, (one with '.' at the beginning of the name), I get the following error:
open /home/huoknight/.local: permission denied
Restoring terminal...
goroutine 1 [running]:
runtime/debug.Stack()
/snap/go/10009/src/runtime/debug/stack.go:24 +0x65
runtime/debug.PrintStack()
/snap/go/10009/src/runtime/debug/stack.go:16 +0x19
github.com/charmbracelet/bubbletea.(*Program).Run.func1()
/root/go/pkg/mod/github.com/charmbracelet/bubbletea@v0.23.0/tea.go:385 +0x95
panic({0x5149e0, 0xc0002f7ef0})
/snap/go/10009/src/runtime/panic.go:838 +0x207
main.(*model).list(0xc00014c000)
/root/parts/llama/build/main.go:631 +0x2d6
main.(*model).Update(0xc00014c000, {0x51fba0?, 0xc000098390?})
/root/parts/llama/build/main.go:231 +0x1d47
github.com/charmbracelet/bubbletea.(*Program).eventLoop(0xc0001380b0, {0x55ea18?, 0xc00014c000?}, 0x40c9a5?)
/root/go/pkg/mod/github.com/charmbracelet/bubbletea@v0.23.0/tea.go:324 +0x602
github.com/charmbracelet/bubbletea.(*Program).Run(0xc0001380b0)
/root/go/pkg/mod/github.com/charmbracelet/bubbletea@v0.23.0/tea.go:448 +0x8e7
main.main()
/root/parts/llama/build/main.go:100 +0x1df
(The error is with /home/huoknight/.local
, but it happens with any hidden directory.