[Bug 1229] No way to set default umask for SFTP server

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Tue Oct 3 19:21:37 EST 2006


http://bugzilla.mindrot.org/show_bug.cgi?id=1229





------- Comment #1 from dtucker at zip.com.au  2006-10-03 19:21 -------
(In reply to comment #0)
> There is no way to set a default umask for the SFTP server.
[...]
> Workaround:   Use FTP instead, and risk having your passwords stolen.

Another workaround: sftp-server inherits it umask from the shell (since
it's run via "sh -c") so you can set it in /etc/profile or equivalent.

That said, since sftp-server understands arguments these days then
adding one for umask might be a reasonable idea.




------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the openssh-bugs mailing list