5月 282019
 

参考:

https://superuser.com/questions/446362/why-cant-i-create-soft-link-on-vboxsf-file-system

处于安全考虑,virtualbox 4.1.8之后, 不允许在共享目录中创建软连接,尽管不是只读挂载,创建软连接也会提示readonly;

原本的符号链接会访问错误的,如: Protocol error

快捷的做法是:我们可以直接copy原始文件,而不是使用软连接

但是可以通过如下命令修改:

 

实测:

VBoxManage setextradata docker VBoxInternal2/SharedFoldersEnableSymlinksCreate/workspace 1

 

还有一个问题: vboxsf挂载的文件系统的mode是固定的,通过chmod修改不了,如果有些文件就是期望某种mode的话,就是不好搞的,所以这个文件系统时不时会给我们带来麻烦

 Posted by at 下午 4:22

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">

(required)

(required)

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据