1 <?xml version="1.0" encoding="iso-8859-1"?>
2 <!DOCTYPE refentry PUBLIC "-//Samba-Team//DTD DocBook V4.2-Based Variant V1.0//EN" "http://www.samba.org/samba/DTD/samba-doc">
3 <refentry id="smbmnt.8">
6 <refentrytitle>smbmnt</refentrytitle>
7 <manvolnum>8</manvolnum>
12 <refname>smbmnt</refname>
13 <refpurpose>helper utility for mounting SMB filesystems</refpurpose>
18 <command>smbmnt</command>
19 <arg choice="req">mount-point</arg>
20 <arg choice="opt">-s <share></arg>
21 <arg choice="opt">-r</arg>
22 <arg choice="opt">-u <uid></arg>
23 <arg choice="opt">-g <gid></arg>
24 <arg choice="opt">-f <mask></arg>
25 <arg choice="opt">-d <mask></arg>
26 <arg choice="opt">-o <options></arg>
27 <arg choice="opt">-h</arg>
32 <title>DESCRIPTION</title>
34 <para><command>smbmnt</command> is a helper application used
35 by the smbmount program to do the actual mounting of SMB shares.
36 <command>smbmnt</command> can be installed setuid root if you want
37 normal users to be able to mount their SMB shares.</para>
39 <para>A setuid smbmnt will only allow mounts on directories owned
40 by the user, and that the user has write permission on.</para>
42 <para>The <command>smbmnt</command> program is normally invoked
43 by <citerefentry><refentrytitle>smbmount</refentrytitle>
44 <manvolnum>8</manvolnum></citerefentry>. It should not be invoked directly by users. </para>
46 <para>smbmount searches the normal PATH for smbmnt. You must ensure
47 that the smbmnt version in your path matches the smbmount used.</para>
52 <title>OPTIONS</title>
57 <listitem><para>mount the filesystem read-only
63 <listitem><para>specify the uid that the files will
64 be owned by </para></listitem>
69 <listitem><para>specify the gid that the files will be
70 owned by </para></listitem>
75 <listitem><para>specify the octal file mask applied
81 <listitem><para>specify the octal directory mask
82 applied </para></listitem>
86 <term>-o options</term>
88 list of options that are passed as-is to smbfs, if this
89 command is run on a 2.4 or higher Linux kernel.
100 <title>AUTHOR</title>
102 <para>Volker Lendecke, Andrew Tridgell, Michael H. Warfield
105 <para>The current maintainer of smbfs and the userspace
106 tools <command>smbmount</command>, <command>smbumount</command>,
107 and <command>smbmnt</command> is <ulink
108 url="mailto:urban@teststation.com">Urban Widmark</ulink>.
109 The <ulink url="mailto:samba@samba.org">SAMBA Mailing list</ulink>
110 is the preferred place to ask questions regarding these programs.
113 <para>The conversion of this manpage for Samba 2.2 was performed
114 by Gerald Carter. The conversion to DocBook XML 4.2 for Samba 3.0
115 was done by Alexander Bokovoy.</para>