summaryrefslogtreecommitdiff
path: root/sftp-server.8
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2009-10-07 08:46:21 +1100
committerDarren Tucker <dtucker@zip.com.au>2009-10-07 08:46:21 +1100
commit6b286a46821fa230258f1da82d0e013cfe3bf685 (patch)
tree7ee63fd342de875c76a420cbf185691d555e5226 /sftp-server.8
parent9bcd25b78b8764ab27cd807f267ff5d82720a0cf (diff)
- djm@cvs.openbsd.org 2009/08/27 17:43:00
[sftp-server.8] allow setting an explicit umask on the commandline to override whatever default the user has. bz#1229; ok dtucker@ deraadt@ markus@
Diffstat (limited to 'sftp-server.8')
-rw-r--r--sftp-server.810
1 files changed, 8 insertions, 2 deletions
diff --git a/sftp-server.8 b/sftp-server.8
index 372b0770e..0f7963e27 100644
--- a/sftp-server.8
+++ b/sftp-server.8
@@ -1,4 +1,4 @@
1.\" $OpenBSD: sftp-server.8,v 1.15 2009/03/26 08:38:39 sobrado Exp $ 1.\" $OpenBSD: sftp-server.8,v 1.16 2009/08/27 17:43:00 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: March 26 2009 $ 25.Dd $Mdocdate: August 27 2009 $
26.Dt SFTP-SERVER 8 26.Dt SFTP-SERVER 8
27.Os 27.Os
28.Sh NAME 28.Sh NAME
@@ -32,6 +32,7 @@
32.Nm sftp-server 32.Nm sftp-server
33.Op Fl f Ar log_facility 33.Op Fl f Ar log_facility
34.Op Fl l Ar log_level 34.Op Fl l Ar log_level
35.Op Fl u Ar umask
35.Sh DESCRIPTION 36.Sh DESCRIPTION
36.Nm 37.Nm
37is a program that speaks the server side of SFTP protocol 38is a program that speaks the server side of SFTP protocol
@@ -71,6 +72,11 @@ performs on behalf of the client.
71DEBUG and DEBUG1 are equivalent. 72DEBUG and DEBUG1 are equivalent.
72DEBUG2 and DEBUG3 each specify higher levels of debugging output. 73DEBUG2 and DEBUG3 each specify higher levels of debugging output.
73The default is ERROR. 74The default is ERROR.
75.It Fl u Ar umask
76Sets an explicit
77.Xr umask 2
78to be applied to newly-created files and directories, instead of the
79user's default mask.
74.El 80.El
75.Pp 81.Pp
76For logging to work, 82For logging to work,