-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Failed creating setting storage : no such directory #2023
Comments
Thanks, merged to |
this issue does not seem to be resolved even with latest version. Happens when app ran without sudo on a workstation not owned by the developer |
It was resolved, some time ago. What version are you using? Are you running as a user that has access to their own home directory? Probably best is to open a new bug with your details instead of commenting on this 3 year old one. |
Describe the bug:
When starting the
fyne_demo
program on Ubuntu 20.04 I get the following error (real name hidden):The reason is because fyne/app/v2/settings_desktop.go:28 in branch 2.0.x contains
err := os.Mkdir(dir, 0700)
.The required change to fix it: Change line into
err := os.MkdirAll(dir, 0700)
. This will create all the missing directories in the path if they don’t exist.I don’t know how to provide a PR because I’m new to fyne and still a bit confused by the code organization (branches).
To Reproduce:
Steps to reproduce the behavior:
fyne_demo
installed by this commandgo get fyne.io/fyne/v2/cmd/fyne_demo
as suggested in the documentation.Device (please complete the following information):
git tag
in ~/go/src/fyne.io/fyne/v2The text was updated successfully, but these errors were encountered: