[BUG]
Before creating a bug report please make check the following
- [x ] You have read our FAQ
- [ ] If you have used flutter. Please install correctly, run
pub cache repair. Close the terminal and try again. - [ ] If you are on Windows. Make sure you are running the terminal as
administratoror withdeveloperpermissions. - [x] Run
fvm doctorif possible and add the output to the issue.
Describe the bug There is an issue with my installation I did run the below commands:
brew tap leoafarias/fvm
brew install fvm
fvm
output PathAccessException: Cannot open file, path = '/Users/xxx/.zshrc' (OS Error: Permission denied, errno = 13)
I encountered the same error. Changing permissions to:
chmod 644 ~/.zshrc
did not change the result. What permissions does fvm requires in regard of the .zshrc file?
This is still an issue. I assume FVM is trying to add itself to ~/.zshrc?
While this doesn't prevent FVM from working, it's a nuisance that appears everytime I run fvm. Really annoying if you use something like home-manager, where you can't (or at least very much aren't supposed to) manually edit your shell-rc files.
I might need more information on this, as I'm not sure where this is coming from, maybe it's related to pub.dev cache? Will close but if there is more information please reopen.
fix by
sudo chown username:staff /Users/username/.zshrc