fvm icon indicating copy to clipboard operation
fvm copied to clipboard

[BUG]

Open iampato opened this issue 1 year ago • 2 comments

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 administrator or with developer permissions.
  • [x] Run fvm doctor if 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)

iampato avatar Nov 24 '24 21:11 iampato

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?

MorganKryze avatar Jan 16 '25 08:01 MorganKryze

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.

imatpot avatar Jun 10 '25 07:06 imatpot

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.

leoafarias avatar Nov 04 '25 17:11 leoafarias

fix by

sudo chown username:staff /Users/username/.zshrc

finedaybreak avatar Nov 08 '25 07:11 finedaybreak