summaryrefslogtreecommitdiff
path: root/docs/manpages/smbmnt.8
blob: 6f7d79ea5dab021a19de14fbfac137f10750cc19 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
.\" This manpage has been automatically generated by docbook2man 
.\" from a DocBook document.  This tool can be found at:
.\" <http://shell.ipoline.com/~elmert/comp/docbook2X/> 
.\" Please send any bug reports, improvements, comments, patches, 
.\" etc. to Steve Cheng <steve@ggi-project.org>.
.TH "SMBMNT" "8" "05 November 2002" "" ""
.SH NAME
smbmnt \- helper utility for mounting SMB filesystems
.SH SYNOPSIS

\fBsmbmnt\fR \fBmount-point\fR [ \fB-s <share>\fR ] [ \fB-r\fR ] [ \fB-u <uid>\fR ] [ \fB-g <gid>\fR ] [ \fB-f <mask>\fR ] [ \fB-d <mask>\fR ] [ \fB-o <options>\fR ]

.SH "DESCRIPTION"
.PP
\fBsmbmnt\fR is a helper application used 
by the smbmount program to do the actual mounting of SMB shares. 
\fBsmbmnt\fR can be installed setuid root if you want
normal users to be able to mount their SMB shares.
.PP
A setuid smbmnt will only allow mounts on directories owned
by the user, and that the user has write permission on.
.PP
The \fBsmbmnt\fR program is normally invoked 
by \fBsmbmount(8)\fR
 It should not be invoked directly by users. 
.PP
smbmount searches the normal PATH for smbmnt. You must ensure
that the smbmnt version in your path matches the smbmount used.
.SH "OPTIONS"
.TP
\fB-r\fR
mount the filesystem read-only 
.TP
\fB-u uid\fR
specify the uid that the files will 
be owned by 
.TP
\fB-g gid\fR
specify the gid that the files will be 
owned by 
.TP
\fB-f mask\fR
specify the octal file mask applied
.TP
\fB-d mask\fR
specify the octal directory mask 
applied  
.TP
\fB-o options\fR
list of options that are passed as-is to smbfs, if this
command is run on a 2.4 or higher Linux kernel.
.SH "AUTHOR"
.PP
Volker Lendecke, Andrew Tridgell, Michael H. Warfield 
and others.
.PP
The current maintainer of smbfs and the userspace
tools \fBsmbmount\fR, \fBsmbumount\fR,
and \fBsmbmnt\fR is Urban Widmark <URL:mailto:urban@teststation.com>.
The SAMBA Mailing list <URL:mailto:samba@samba.org>
is the preferred place to ask questions regarding these programs.
.PP
The conversion of this manpage for Samba 2.2 was performed 
by Gerald Carter