VirtualBox

Changeset 103992 in vbox


Ignore:
Timestamp:
Mar 21, 2024 3:44:54 PM (10 months ago)
Author:
vboxsync
Message:

doc/manual: Improve the User Manual documentation around the behaviour
of symbolic links created inside a Shared Folder on the host and then
viewed from inside a guest which doesn't have Shared Folder symlink
support. bugref:10619 ticketref:21809

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc/manual/en_US/dita/topics/sharedfolders.dita

    r99797 r103992  
    101101                  <li>
    102102                     <p>
    103           Currently only Linux and Oracle Solaris Guest Additions
    104           support symlinks.
     103          The guest VM must have a version of the Guest Additions
     104          installed which supports symlinks. Currently only the Linux and
     105          Oracle Solaris Guest Additions support symlinks.
    105106        </p>
    106107                  </li>
     
    109110          For security reasons the guest OS is not allowed to create
    110111          symlinks by default. If you trust the guest OS to not abuse
    111           the functionality, you can enable creation of symlinks for a
    112           shared folder as follows:
     112          the functionality, you can enable the creation of symlinks for
     113          a shared folder as follows:
    113114        </p>
    114                      <pre xml:space="preserve">VBoxManage setextradata "VM name" VBoxInternal2/SharedFoldersEnableSymlinksCreate/<varname>sharename</varname> 1</pre>
     115                     <pre xml:space="preserve">VBoxManage setextradata <varname>VM-name</varname> VBoxInternal2/SharedFoldersEnableSymlinksCreate/<varname>sharename</varname> 1</pre>
    115116                  </li>
    116117               </ul>
     118               <p>
     119          If a symbolic link is created inside a shared folder on the host
     120          and the installed Guest Additions don't support symbolic links
     121          then the guest will see the target of the symlink as a file
     122          inside the shared folder. For example, if a symlink is created
     123          to a file on a Linux host:
     124        </p>
     125               <p>
     126                     <pre xml:space="preserve">$ cd /SharedFolder &amp;&amp; ln -s filename symlink-to-filename</pre>
     127        </p>
     128               <p>
     129          And then the shared folder is viewed on a Windows guest there
     130          will be two identical files listed, <userinput>filename</userinput>
     131          and <userinput>symlink-to-filename</userinput>.
     132        </p>
    117133            </body>
    118134           
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette