-
Notifications
You must be signed in to change notification settings - Fork 60
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
Elementary OS default folder in home dir is replaced with symbolic links #210
Comments
I wonder if this is partly caused by:
Can you try building and installing without that? |
Sure i will do. |
Removing this changed the behavior. |
I can reproduce the issue with the version of folkfinder in stable. The version in candidate does not change the files in home. However both versions can see files in home just fine. I don't understand what you mean by "the app doesn't have access to the files in the home folder"? Please detail what you see and what you should see. |
I just downloaded some random images to the Pictures folder from the internet, to see if I could select and view them. |
I just tried the version in candidate, has no issues accessing content in ~/Pictures. I am seeing lots of dconf errors, I think this snap needs the gsettings plug. |
You really shouldn't set HOME there, and shouldn't need to. You also can't assume a user's homedir will be /home/$USER. |
I am not the original author of this. |
I am the original author of the code he was copying, during my testing and looking trought different opensource project's snapcraft.yaml's i found thos environment variable being set and it was one which solved the problem while i already guessed this wasnt proper solution and am intent of properly configuring it when i have enought time to properly figure out what i need to do. Why exacly is this envvar included in my snapcraft.yaml it is because this was the only way i could get right home directory in file dialogs like you can see above |
I had downloaded two files with the extensions .gif and .jpeg. |
Both projects that i manage have been privated because of this code and we have discovered another unrelated bug. Problem as it goes is that no mazter how we set it up we need to assume users have standard /home/$USER home directory because while inside python code we cannot in any other way besides hardcoding access home directory we tried using both xdg_home_dir(or something like that) but that uses ~ and when using ~ home directory it will resolve to is the snaps directory inside users home directory(~/snap/{snapname}/current(or revision number)or common cant remember exacly) /) which isnt intended behaveour. Im sorry for all your trubble |
I have experienced a bug that seems to be related to Elementary OS.
When installing my application Folkfinder on Elementary OS 5.1 Hera the default folders in the home dir are replaced with symbolic links that point to them selves:
Video documentation of bug
List of home folder before and after app has been run:
Output from snap:
My snap yaml file for Folkfinder:
https://gitlab.com/folkfinder/folkfinder-snap/-/blob/master/snap/snapcraft.yaml
The text was updated successfully, but these errors were encountered: