VirtualBox

Changeset 105016 in vbox for trunk/doc/manual


Ignore:
Timestamp:
Jun 25, 2024 10:28:21 AM (11 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
163634
Message:

doc/manual,include/VBox,Frontends/VBoxManage,HostServices/SharedFolders,
Main/{include,SharedFolder,Console,Machine,VirtualBox.xidl}: Add a
new attribute to ISharedFolder for specifying a symbolic link creation
policy to restrict the source pathname when creating symbolic links
within a guest. The symbolic link policies are represented by a new
enumeration of type SymlinkPolicy_T which includes values for no
restrictions ('any'), symlink sources only within the subtree of the
share ('subtree'), symlink sources as any relative path ('relative'),
and no symlinks allowed ('forbidden'). The symlink policy can only be
applied to permanent shared folders at this stage. bugref:10619

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc/manual/en_US/man_VBoxManage-sharedfolder.xml

    r99513 r105016  
    4242  <refnamediv>
    4343    <refname>VBoxManage-sharedfolder</refname>
    44     <refpurpose>add and remove shared folders</refpurpose>
     44    <refpurpose>add and remove shared folders, configure security policy for shared folders</refpurpose>
    4545    <refclass>&product-name;</refclass>
    4646  </refnamediv>
     
    5454        <arg choice="plain"><replaceable>vmname</replaceable></arg>
    5555      </group>
    56       <arg choice="req">--name=<replaceable>name</replaceable></arg>
     56      <arg choice="req">--name=<replaceable>share-name</replaceable></arg>
    5757      <arg choice="req">--hostpath=<replaceable>hostpath</replaceable></arg>
    5858      <arg>--readonly</arg>
     
    6868        <arg choice="plain"><replaceable>vmname</replaceable></arg>
    6969      </group>
    70       <arg choice="req">--name=<replaceable>name</replaceable></arg>
     70      <arg choice="req">--name=<replaceable>share-name</replaceable></arg>
    7171      <arg>--transient</arg>
     72    </cmdsynopsis>
     73
     74    <cmdsynopsis id="synopsis-vboxmanage-sharedfolder-modify">
     75      <command>VBoxManage sharedfolder modify</command>
     76      <group choice="req">
     77        <arg choice="plain"><replaceable>uuid</replaceable></arg>
     78        <arg choice="plain"><replaceable>vmname</replaceable></arg>
     79      </group>
     80      <arg choice="req">--name=<replaceable>share-name</replaceable></arg>
     81      <arg choice="req">--symlink-policy=
     82        <group choice="plain">
     83          <arg choice="plain">forbidden</arg>
     84          <arg choice="plain">subtree</arg>
     85          <arg choice="plain">relative</arg>
     86          <arg choice="plain">any</arg>
     87        </group>
     88      </arg>
    7289    </cmdsynopsis>
    7390  </refsynopsisdiv>
     
    103120        </varlistentry>
    104121        <varlistentry>
    105           <term>--name=<replaceable>name</replaceable></term>
     122          <term>--name=<replaceable>share-name</replaceable></term>
    106123          <listitem><para>
    107124              Specifies the name of the share, which is a unique name
     
    178195        </varlistentry>
    179196        <varlistentry>
    180           <term>--name=<replaceable>name</replaceable></term>
     197          <term>--name=<replaceable>share-name</replaceable></term>
    181198          <listitem><para>
    182199              Specifies the name of the share to remove.
     
    193210      </variablelist>
    194211    </refsect2>
     212    <refsect2 id="vboxmanage-sharedfolder-modify">
     213      <title>Modify a Shared Folder's Configuration</title>
     214      <remark role="help-copy-synopsis"/>
     215      <para>
     216        The <command>VBoxManage sharedfolder modify</command> command
     217        modifies the configuration of a Shared Folder.
     218      </para>
     219      <variablelist>
     220        <varlistentry>
     221          <term><option><replaceable>uuid</replaceable> | <replaceable>vmname</replaceable></option></term>
     222          <listitem><para>
     223              Specifies the name or UUID of the guest VM that shares a
     224              folder with the host system.
     225            </para></listitem>
     226        </varlistentry>
     227        <varlistentry>
     228          <term>--name=<replaceable>share-name</replaceable></term>
     229          <listitem><para>
     230              Specifies the name of the share to apply the security policy to.
     231            </para></listitem>
     232        </varlistentry>
     233        <varlistentry>
     234          <term>--symlink-policy=<replaceable>policy-name</replaceable></term>
     235          <listitem><para>
     236              Specifies the symbolic link security policy of the shared folder.
     237              Valid symlink security policies are:
     238                  <literal>forbidden</literal>, <literal>subtree</literal>,
     239                  <literal>relative</literal>, and <literal>any</literal>.
     240            </para></listitem>
     241        </varlistentry>
     242      </variablelist>
     243    </refsect2>
    195244  </refsect1>
    196245
     
    199248    <remark role="help-scope" condition="GLOBAL" />
    200249    <para>
    201       The following command creates a shared folder called
    202       <filename>o7share</filename> for the <filename>ol7</filename> VM.
    203       The share is mounted automatically when the VM is started.
     250      The following command creates a shared folder named
     251      <filename>o7share</filename> for the <filename>ol7</filename> VM
     252      and configures the share to be mounted automatically when the VM
     253      is started.
    204254    </para>
    205255<screen>$ VBoxManage sharedfolder add ol7 --name ol7share --hostpath "/home/user/ol7share" --automount</screen>
    206256    <para>
    207       The following command removes the shared folder called
    208       <filename>o7share</filename> for the <filename>ol7</filename> VM.
     257      The following command removes the shared folder named
     258      <filename>o7share</filename> from the <filename>ol7</filename> VM.
    209259    </para>
    210260<screen>$ VBoxManage sharedfolder remove ol7 --name ol7share</screen>
Note: See TracChangeset for help on using the changeset viewer.

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