Hi !

I'm running OpenSSH 5.0p1 under Debian Etch. My system is VERY
minimal, it only has OpenSSH on it.

My 'chrooted' sftp is working, but I would like to know how to set the
'umask' for my sftp users.

Here's my configuration...


# override default of no subsystems
Subsystem sftp internal-sftp

Match Group chrooted
ChrootDirectory %h
ForceCommand internal-sftp



When my user 'test' logs on the sftp server, it works great; he's
chrooted in /chrooted. The problem is that when he creates
files/directories, the umask isn't what I want.

How can I change the umask!? I tried to put a .profile file in
/chrooted... did not work.


- Mike