summaryrefslogtreecommitdiff
path: root/sftp-server.8
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2010-01-09 22:24:33 +1100
committerDarren Tucker <dtucker@zip.com.au>2010-01-09 22:24:33 +1100
commitdb7bf82544800c21a471a89781466bbf4ac08731 (patch)
treeb60f825b76c1aed4719271205ac96d40529f5f6c /sftp-server.8
parent0b8a2262ac9ee2b2395cf85e3dfa065385c25b5a (diff)
- djm@cvs.openbsd.org 2010/01/09 00:20:26
[sftp-server.c sftp-server.8] add a 'read-only' mode to sftp-server(8) that disables open in write mode and all other fs-modifying protocol methods. bz#430 ok dtucker@
Diffstat (limited to 'sftp-server.8')
-rw-r--r--sftp-server.812
1 files changed, 9 insertions, 3 deletions
diff --git a/sftp-server.8 b/sftp-server.8
index ee73c345b..84036922c 100644
--- a/sftp-server.8
+++ b/sftp-server.8
@@ -1,4 +1,4 @@
1.\" $OpenBSD: sftp-server.8,v 1.17 2009/08/31 21:01:29 djm Exp $ 1.\" $OpenBSD: sftp-server.8,v 1.18 2010/01/09 00:20:26 djm Exp $
2.\" 2.\"
3.\" Copyright (c) 2000 Markus Friedl. All rights reserved. 3.\" Copyright (c) 2000 Markus Friedl. All rights reserved.
4.\" 4.\"
@@ -22,7 +22,7 @@
22.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 22.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
23.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 23.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24.\" 24.\"
25.Dd $Mdocdate: August 31 2009 $ 25.Dd $Mdocdate: January 9 2010 $
26.Dt SFTP-SERVER 8 26.Dt SFTP-SERVER 8
27.Os 27.Os
28.Sh NAME 28.Sh NAME
@@ -30,7 +30,7 @@
30.Nd SFTP server subsystem 30.Nd SFTP server subsystem
31.Sh SYNOPSIS 31.Sh SYNOPSIS
32.Nm sftp-server 32.Nm sftp-server
33.Op Fl eh 33.Op Fl ehR
34.Op Fl f Ar log_facility 34.Op Fl f Ar log_facility
35.Op Fl l Ar log_level 35.Op Fl l Ar log_level
36.Op Fl u Ar umask 36.Op Fl u Ar umask
@@ -81,6 +81,12 @@ performs on behalf of the client.
81DEBUG and DEBUG1 are equivalent. 81DEBUG and DEBUG1 are equivalent.
82DEBUG2 and DEBUG3 each specify higher levels of debugging output. 82DEBUG2 and DEBUG3 each specify higher levels of debugging output.
83The default is ERROR. 83The default is ERROR.
84.It Fl R
85Places this instance of
86.Nm
87into a read-only mode.
88Attempts to open files for writing, as well as other operations that change
89the state of the filesystem will be denied.
84.It Fl u Ar umask 90.It Fl u Ar umask
85Sets an explicit 91Sets an explicit
86.Xr umask 2 92.Xr umask 2