creating symbolic link: Protocol error

后端 未结 7 1041
一整个雨季
一整个雨季 2021-02-01 02:51

I have created linux (Centos) on my virtual box. When I ssh to it and I try to create symbolic link (on my shared folder with full access):

ln -s path/folder/exa         


        
7条回答
  •  死守一世寂寞
    2021-02-01 03:21

    As I understand, Windows VirtualBox hosts doesn't support links (from https://www.virtualbox.org/manual/ch04.html#sharedfolders)

    Starting with version 4.0, VirtualBox shared folders also support symbolic links (symlinks), under the following conditions:

    The host operating system must support symlinks (i.e. a Mac, Linux or Solaris host is required).

    Currently only Linux and Solaris Guest Additions support symlinks.

    For security reasons the guest OS is not allowed to create symlinks by default. If you trust the guest OS to not abuse the functionality, you can enable creation of symlinks for "sharename" with:

    VBoxManage setextradata "VM name" VBoxInternal2/SharedFoldersEnableSymlinksCreate/sharename 1

提交回复
热议问题