1 <?xml version="1.0" encoding="iso-8859-1"?>
2 <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [
4 <!ENTITY % globalentities SYSTEM '../entities/global.entities'> %globalentities;
6 <refentry id="smbmnt.8">
9 <refentrytitle>smbmnt</refentrytitle>
10 <manvolnum>8</manvolnum>
15 <refname>smbmnt</refname>
16 <refpurpose>helper utility for mounting SMB filesystems</refpurpose>
21 <command>smbmnt</command>
22 <arg choice="req">mount-point</arg>
23 <arg choice="opt">-s <share></arg>
24 <arg choice="opt">-r</arg>
25 <arg choice="opt">-u <uid></arg>
26 <arg choice="opt">-g <gid></arg>
27 <arg choice="opt">-f <mask></arg>
28 <arg choice="opt">-d <mask></arg>
29 <arg choice="opt">-o <options></arg>
30 <arg choice="opt">-h</arg>
35 <title>DESCRIPTION</title>
37 <para><command>smbmnt</command> is a helper application used
38 by the smbmount program to do the actual mounting of SMB shares.
39 <command>smbmnt</command> can be installed setuid root if you want
40 normal users to be able to mount their SMB shares.</para>
42 <para>A setuid smbmnt will only allow mounts on directories owned
43 by the user, and that the user has write permission on.</para>
45 <para>The <command>smbmnt</command> program is normally invoked
46 by <citerefentry><refentrytitle>smbmount</refentrytitle>
47 <manvolnum>8</manvolnum></citerefentry>. It should not be invoked directly by users. </para>
49 <para>smbmount searches the normal PATH for smbmnt. You must ensure
50 that the smbmnt version in your path matches the smbmount used.</para>
55 <title>OPTIONS</title>
60 <listitem><para>mount the filesystem read-only
66 <listitem><para>specify the uid that the files will
67 be owned by </para></listitem>
72 <listitem><para>specify the gid that the files will be
73 owned by </para></listitem>
78 <listitem><para>specify the octal file mask applied
84 <listitem><para>specify the octal directory mask
85 applied </para></listitem>
89 <term>-o options</term>
91 list of options that are passed as-is to smbfs, if this
92 command is run on a 2.4 or higher Linux kernel.
103 <title>AUTHOR</title>
105 <para>Volker Lendecke, Andrew Tridgell, Michael H. Warfield
108 <para>The current maintainer of smbfs and the userspace
109 tools <command>smbmount</command>, <command>smbumount</command>,
110 and <command>smbmnt</command> is <ulink
111 url="mailto:urban@teststation.com">Urban Widmark</ulink>.
112 The <ulink url="mailto:samba@samba.org">SAMBA Mailing list</ulink>
113 is the preferred place to ask questions regarding these programs.
116 <para>The conversion of this manpage for Samba 2.2 was performed
117 by Gerald Carter. The conversion to DocBook XML 4.2 for Samba 3.0
118 was done by Alexander Bokovoy.</para>