justinmayer/virtualfish

Insufficient access privileges for operation when running virtualfish 2.5.9 on macos sequoia

Opened this issue · 4 comments

  • I am using Fish shell version 3.1 or higher.
  • I am using Python version 3.8 or higher.
  • I have searched the issues (including closed ones) and believe that this is not a duplicate.
  • If related to a plugin, I prefixed the issue title with the name of the plugin.
  • OS version and name: macos sequoia
  • Fish shell version: 3.7.1
  • VirtualFish version: 2.5.9

error log

==> Testing virtualfish
/opt/homebrew/Library/Homebrew/test.rb (Formulary::FromPathLoader): loading /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/v/virtualfish.rb
==> fish -c '/opt/homebrew/Cellar/virtualfish/2.5.9/bin/vf install'
==> fish -c vf new new_virtualenv

==> fish -c "vf ls"
==> fish -c vf rm new_virtualenv
Removing /private/tmp/virtualfish-test-20240912-43271-hyb28j/.virtualenvs/new_virtualenv
2024-09-12 09:09:47.273 trash[43629:7102823] # Error attempting to move /private/tmp/virtualfish-test-20240912-43271-hyb28j/.virtualenvs/new_virtualenv to the trash folder, Error Domain=NSCocoaErrorDomain Code=513 "“new_virtualenv” couldn’t be moved to the trash because you don’t have permission to access it." UserInfo={NSURL=file:///private/tmp/virtualfish-test-20240912-43271-hyb28j/.virtualenvs/new_virtualenv, NSUserStringVariant=Trash, NSUnderlyingError=0x60000318c7e0 {Error Domain=NSOSStatusErrorDomain Code=-5000 "afpAccessDenied: Insufficient access privileges for operation"}}
/opt/homebrew/Library/Homebrew/ignorable.rb:27:in `block in raise'

Issue

Hi Rui. Given that I had no idea that VirtualFish was even available from Homebrew, I think we can safely say that Homebrewed VirtualFish is not supported at this time 😊

Plus, it seems from this comment that the error is likely caused by a Homebrew-related issue and not related to anything in VirtualFish itself.

Nonetheless, it is good to now at least know that a Homebrew formula for VirtualFish is a thing that exists 😁

Plus, it seems from this comment that the error is likely caused by a Homebrew-related issue and not related to anything in VirtualFish itself.

it is not caused by sandbox, I can reproduce it on macos sequoia 15.1 machine.

If the reported problem can be replicated on an official release of MacOS 15.x Sequoia using the standard and supported installation method, then please provide detailed steps to reproduce. Thanks!