diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | sftp-server.8 | 10 |
2 files changed, 12 insertions, 2 deletions
@@ -56,6 +56,10 @@ | |||
56 | as it was inheriting the wrong one when bubblebabble signatures were | 56 | as it was inheriting the wrong one when bubblebabble signatures were |
57 | activated; bz#1611 report and patch from fwojcik+openssh AT besh.com; | 57 | activated; bz#1611 report and patch from fwojcik+openssh AT besh.com; |
58 | ok markus@ | 58 | ok markus@ |
59 | - djm@cvs.openbsd.org 2009/08/27 17:43:00 | ||
60 | [sftp-server.8] | ||
61 | allow setting an explicit umask on the commandline to override whatever | ||
62 | default the user has. bz#1229; ok dtucker@ deraadt@ markus@ | ||
59 | 63 | ||
60 | 20091002 | 64 | 20091002 |
61 | - (djm) [Makefile.in] Mention readconf.o in ssh-keysign's make deps. | 65 | - (djm) [Makefile.in] Mention readconf.o in ssh-keysign's make deps. |
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 |
37 | is a program that speaks the server side of SFTP protocol | 38 | is a program that speaks the server side of SFTP protocol |
@@ -71,6 +72,11 @@ performs on behalf of the client. | |||
71 | DEBUG and DEBUG1 are equivalent. | 72 | DEBUG and DEBUG1 are equivalent. |
72 | DEBUG2 and DEBUG3 each specify higher levels of debugging output. | 73 | DEBUG2 and DEBUG3 each specify higher levels of debugging output. |
73 | The default is ERROR. | 74 | The default is ERROR. |
75 | .It Fl u Ar umask | ||
76 | Sets an explicit | ||
77 | .Xr umask 2 | ||
78 | to be applied to newly-created files and directories, instead of the | ||
79 | user's default mask. | ||
74 | .El | 80 | .El |
75 | .Pp | 81 | .Pp |
76 | For logging to work, | 82 | For logging to work, |