Community Information
-
When using ssh, unable to read $/.config directory
I have an M2 MacBook Air I have been using for some time with fish as the default shell. I routinely ssh to the machine from my iPad and from my iPhone using Blink as the ssh client and it has been reliable. I just got a new M4 mac mini and set it up using Migration Assistant with the source being the M2 MacBook Air. Everything is now working fine on the M4 mini. Fish shell works with no problems, etc. However, I can not ssh into the m4 mini cleanly from my iPad, iPhone, nor from the macbook air, or even from the m4 mini itself. When I ssh into the m4 mini, the connection works, but I get this error message: `error: Unable to open universal variable file '/Users/tbrown/.config/fish/fish_variables': EPERM: Operation not permitted` I have searched a lot about this error and it seems somewhat common. However, there are few solutions to the issue given, and I have seen none that specifically reference the issue being isolated to ssh logins. My initial fish install was using homebrew. One solution I saw indicated that installing the fish pkg rather that using Homebrew fixed this issue. I did that, but no joy. Grasping at straws, I also changed the permissions of the file tree \~/.config/fish to be 777. Still no joy. This is a permissions problem, not a fish shell problem, but I have no idea why. If I change my shell to zsh, and login using ssh, I still can't read the .config directory. Something is going on with ssh such that when I login with ssh, my .config directory is not readable. The directory lives within my Dropbox directory and I made a symbolic link to it that looks like this: `.config -> /Users/username/Dropbox/config` and the Dropbox directory is also symlinked: `Dropbox -> /Users/username/Library/CloudStorage/Dropbox` Because I have no better ideas, I deleted both of those symlinks and re-created them. Still no joy. Does anyone have a suggestion?2
© 2025 Indiareply.com. All rights reserved.