VirtualBox

Changeset 105333 in vbox for trunk/doc/manual


Ignore:
Timestamp:
Jul 16, 2024 2:07:58 AM (10 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
163986
Message:

doc/manual,Frontends/VBoxManage,Main/SharedFolderImpl.cpp: Implement
support for modifying the read/write attributes of the ISharedFolder
interface for permanent shared folders. bugref:10619

File:
1 edited

Legend:

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

    r105087 r105333  
    7979      </group>
    8080      <arg choice="req">--name=<replaceable>share-name</replaceable></arg>
     81      <arg choice="req">--readonly=
     82        <group choice="plain">
     83          <arg choice="plain">true</arg>
     84          <arg choice="plain">false</arg>
     85        </group>
     86      </arg>
     87      <arg choice="req">--automount=
     88        <group choice="plain">
     89          <arg choice="plain">true</arg>
     90          <arg choice="plain">false</arg>
     91        </group>
     92      </arg>
     93      <arg choice="req">--auto-mount-point=<replaceable>path</replaceable></arg>
    8194      <arg choice="req">--symlink-policy=
    8295        <group choice="plain">
     
    94107    <para>
    95108      Shared folders enable you to share data between the host system
    96       and guests. To use shared folders, you must first install the
    97       &product-name; Guest Additions software on the guest OS.
     109      and guests. To use shared folders you must first install the
     110      &product-name; Guest Additions software in the guest VM.
    98111    </para>
    99112    <para>
     
    108121        The <command>VBoxManage sharedfolder add</command> command
    109122        creates a shared folder. The folder you specify is on the host
    110         computer. When configured, the contents of the folder on the
     123        computer. When configured the contents of the folder on the
    111124        host system can be shared with the guest OS.
    112125      </para>
     
    140153            </para><para>
    141154              By default, shared folders have read-write access to the
    142               files at the host path. However on Linux distributions,
    143               shared folders are mounted with 770 file permissions with
    144               the <literal>root</literal> user and the
    145               <literal>vboxsf</literal> group. By using this option, the
    146               file permissions become 700.
     155              files mounted from the host. However on Solaris and Linux
     156              distributions shared folders are mounted with 770 file
     157              permissions with the files owned by the <literal>root</literal>
     158              user and the <literal>vboxsf</literal> group which means the
     159              files are restricted to members of the <literal>vboxsf</literal>
     160              group and the <literal>root</literal> user. If the --readonly
     161              option is specified the file permissions become 700 and the
     162              files are accessible only to the <literal>root</literal> user.
    147163            </para></listitem>
    148164        </varlistentry>
     
    150166          <term>--transient</term>
    151167          <listitem><para>
    152               Specifies that the share is transient, which means that it
    153               can be added and removed at runtime and does not persist
     168              Specifies that the share is transient which means that it
     169              is added and removed to a running VM and does not persist
    154170              after the VM stops.
    155171            </para></listitem>
     
    164180           <term>--auto-mount-point=<replaceable>path</replaceable></term>
    165181           <listitem><para>
    166                Specifies the mount point of the share.  This guest OS specific.
     182               Specifies the mount point of the share.  This is guest OS specific.
    167183             </para><para>
    168                For Windows and OS/2 guest this must be an unused drive letter.
     184               For Windows and OS/2 guests this must be an unused drive letter.
    169185               If left blank (or if the drive letter is already in use), the
    170186               last unused drive letter is used instead (i.e. searching from
    171187               <literal>Z:</literal> thru <literal>A:</literal>).
    172188             </para><para>
    173                For Linux, Solaris and other unix guest, it must be an absolute
    174                path like <filename>/mnt/mysharedfolder</filename>.  If left
     189               For Linux, Solaris and other Unix guests, it must be an absolute
     190               path such as <filename>/mnt/mysharedfolder</filename>.  If left
    175191               empty the default location is
    176192               <filename>/media/sf_<replaceable>sharename</replaceable></filename>.
     
    203219          <term>--transient</term>
    204220          <listitem><para>
    205               Specifies that the share is transient, which means that it
    206               can be added and removed at runtime and does not persist
     221              Specifies that the share is transient which means that it
     222              is added and removed to a running VM and does not persist
    207223              after the VM stops.
    208224            </para></listitem>
     
    228244          <term>--name=<replaceable>share-name</replaceable></term>
    229245          <listitem><para>
    230               Specifies the name of the share to apply the security policy to.
     246              Specifies the name of the shared folder to modify.
     247            </para></listitem>
     248        </varlistentry>
     249        <varlistentry>
     250          <term>--readonly=<replaceable>true | false</replaceable></term>
     251          <listitem><para>
     252              Specifies whether the shared folder is to be mounted as read-only.
     253            </para></listitem>
     254        </varlistentry>
     255        <varlistentry>
     256          <term>--automount=<replaceable>true | false</replaceable></term>
     257          <listitem><para>
     258              Specifies whether the shared folder is to be mounted automatically
     259              when the VM boots.
     260            </para></listitem>
     261        </varlistentry>
     262        <varlistentry>
     263          <term>--auto-mount-point=<replaceable>path</replaceable></term>
     264          <listitem><para>
     265              Specifies where to mount the shared folder if it is configured to be
     266              be mounted automatically when the VM boots.
    231267            </para></listitem>
    232268        </varlistentry>
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