summaryrefslogtreecommitdiff
path: root/docs/manpages/smbmnt.8
blob: 45515c593deebfe1bf72fab5730ac1e6bb0e26fd (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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
.\"Generated by db2man.xsl. Don't modify this, modify the source.
.de Sh \" Subsection
.br
.if t .Sp
.ne 5
.PP
\fB\\$1\fR
.PP
..
.de Sp \" Vertical space (when we can't use .PP)
.if t .sp .5v
.if n .sp
..
.de Ip \" List item
.br
.ie \\n(.$>=3 .ne \\$3
.el .ne 3
.IP "\\$1" \\$2
..
.TH "SMBMNT" 8 "" "" ""
.SH NAME
smbmnt \- helper utility for mounting SMB filesystems
.SH "SYNOPSIS"

.nf
\fBsmbmnt\fR {mount-point} [-s <share>] [-r] [-u <uid>] [-g <gid>] [-f <mask>] [-d <mask>] [-o <options>] [-h]
      
.fi

.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\fR(8)\&. 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
-r
mount the filesystem read-only


.TP
-u uid
specify the uid that the files will be owned by


.TP
-g gid
specify the gid that the files will be owned by


.TP
-f mask
specify the octal file mask applied


.TP
-d mask
specify the octal directory mask applied


.TP
-o options
list of options that are passed as-is to smbfs, if this command is run on a 2\&.4 or higher Linux kernel\&.


.TP
-h|--help
Print a summary of command line options\&.


.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\&. The SAMBA Mailing list 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\&. The conversion to DocBook XML 4\&.2 for Samba 3\&.0 was done by Alexander Bokovoy\&.