smbmnt.8   [plain text]


.\"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"
.HP 1
smbmnt {mount-point} [-s <share>] [-r] [-u <uid>] [-g <gid>] [-f <mask>] [-d <mask>] [-o <options>] [-h]
.SH "DESCRIPTION"
.PP
smbmnt
is a helper application used by the smbmount program to do the actual mounting of SMB shares.
smbmnt
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
smbmnt
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"
.PP
-r
.RS 3n
mount the filesystem read-only
.RE
.PP
-u uid
.RS 3n
specify the uid that the files will be owned by
.RE
.PP
-g gid
.RS 3n
specify the gid that the files will be owned by
.RE
.PP
-f mask
.RS 3n
specify the octal file mask applied
.RE
.PP
-d mask
.RS 3n
specify the octal directory mask applied
.RE
.PP
-o options
.RS 3n
list of options that are passed as-is to smbfs, if this command is run on a 2.4 or higher Linux kernel.
.RE
.PP
-h|--help
.RS 3n
Print a summary of command line options.
.RE
.SH "AUTHOR"
.PP
Volker Lendecke, Andrew Tridgell, Michael H. Warfield and others.
.PP
The current maintainer of smbfs and the userspace tools
smbmount,
smbumount, and
smbmnt
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.