Support
                                
                                
                                
                                    Support copied to clipboard
                            
                            
                            
                        GitFiend does not seem to work with symlinked ~/.ssh/config file
In NixOS with home-manager, ~/.ssh/config is a symlink pointing to a directory in the Nix store. When I try to use GitFiend on these computers, it claims bad owner or permissions on /home/<USER>/.ssh/config -- but the file is publicly accessible, and the permissions in Flatpak are set correctly (i.e. /nix/store:ro). Thus, I think the fact that it is a symlink is causing it to erroneously reject the file.
Context:
NixOS 22.11 using Flatpak 1.14.0, and GitFiend version 0.39.4.
Hi @alxpettit, Does your ssh config work with Git on the command line? Usually if that is working GitFiend will also work.
The tests I've done so far:
- 
flatpak run --command=sh com.gitfiend.GitFiend- This runs 
shinside the same containerization that GitFiend runs in. Whencating~/.ssh/configwithin this environment, it works fine and has the requisite permissions, indicating that GitFiend should in principle be able to read the file. 
 - This runs 
 - 
Checking the file permissions on
~/.ssh/config- They are readable and normal.
 
 - 
I use
gitcommand in itself over SSH all the time, and it works fine. - 
Here's where it gets weird. Inside of the
com.gitfiend.GitFiendflatpak container, I rungit pushinside my repo by hand.- The result is I get the same error message reported by GitFiend itself.
 
 
Therefore, I conclude that GitFiend itself is not the problem -- the problem is something to do with how the git command is containerized in the Flatpak distribution of Gitfiend.
I'm not sure what else to test, so let me know your thoughts. :)
Tbh, I'm not sure what the problem could be. I also don't know much about flatpak yet. There are some details you may not know that could provide clues:
- I didn't create the flatpak, a build process is doing something clever to convert the appimage file to flatpak. See https://github.com/GitFiend/Support/issues/152 and https://github.com/flathub/com.gitfiend.GitFiend
 - GitFiend doesn't bundle Git or have it as a dependency, instead relying on the user to have it installed