1 <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
2 <!ENTITY % globalentities SYSTEM '../global.ent'> %globalentities;
4 <refentry id="smbmnt.8">
7 <refentrytitle>smbmnt</refentrytitle>
8 <manvolnum>8</manvolnum>
13 <refname>smbmnt</refname>
14 <refpurpose>helper utility for mounting SMB filesystems</refpurpose>
19 <command>smbmnt</command>
20 <arg choice="req">mount-point</arg>
21 <arg choice="opt">-s <share></arg>
22 <arg choice="opt">-r</arg>
23 <arg choice="opt">-u <uid></arg>
24 <arg choice="opt">-g <gid></arg>
25 <arg choice="opt">-f <mask></arg>
26 <arg choice="opt">-d <mask></arg>
27 <arg choice="opt">-o <options></arg>
28 <arg choice="opt">-h</arg>
33 <title>DESCRIPTION</title>
35 <para><command>smbmnt</command> is a helper application used
36 by the smbmount program to do the actual mounting of SMB shares.
37 <command>smbmnt</command> can be installed setuid root if you want
38 normal users to be able to mount their SMB shares.</para>
40 <para>A setuid smbmnt will only allow mounts on directories owned
41 by the user, and that the user has write permission on.</para>
43 <para>The <command>smbmnt</command> program is normally invoked
44 by <citerefentry><refentrytitle>smbmount</refentrytitle>
45 <manvolnum>8</manvolnum></citerefentry>. It should not be invoked directly by users. </para>
47 <para>smbmount searches the normal PATH for smbmnt. You must ensure
48 that the smbmnt version in your path matches the smbmount used.</para>
53 <title>OPTIONS</title>
58 <listitem><para>mount the filesystem read-only
64 <listitem><para>specify the uid that the files will
65 be owned by </para></listitem>
70 <listitem><para>specify the gid that the files will be
71 owned by </para></listitem>
76 <listitem><para>specify the octal file mask applied
82 <listitem><para>specify the octal directory mask
83 applied </para></listitem>
87 <term>-o options</term>
89 list of options that are passed as-is to smbfs, if this
90 command is run on a 2.4 or higher Linux kernel.
101 <title>AUTHOR</title>
103 <para>Volker Lendecke, Andrew Tridgell, Michael H. Warfield
106 <para>The current maintainer of smbfs and the userspace
107 tools <command>smbmount</command>, <command>smbumount</command>,
108 and <command>smbmnt</command> is <ulink
109 url="mailto:urban@teststation.com">Urban Widmark</ulink>.
110 The <ulink url="mailto:samba@samba.org">SAMBA Mailing list</ulink>
111 is the preferred place to ask questions regarding these programs.
114 <para>The conversion of this manpage for Samba 2.2 was performed
115 by Gerald Carter. The conversion to DocBook XML 4.2 for Samba 3.0
116 was done by Alexander Bokovoy.</para>