将MacOS更新为Catalina后,无法从游荡框访问共享文件夹(过时的文件句柄)

时间:2019-12-24 08:45:08

标签: vagrant virtualbox macos-catalina

将MacO更新为Vagrant框上托管的Cataline项目后,停止工作。共享目录不再可以从框一侧访问:

vagrant@vagrant /var/www $ ls
ls: cannot access 'html': Stale file handle
html

1 个答案:

答案 0 :(得分:0)

转到:Mac的偏好:

System Preferences > Security & Privacy > Privacy > Full Disk Access

并在其中添加文件/sbin/nfsd

如果您没有看到该目录,则可能必须激活在Mac finder中显示隐藏文件:在finder中打开MacintoshHD,然后按Command+Shift+Dot

如果您甚至都没有看到MacintoshHD,请转到Finder首选项并在侧栏选项中将其激活。