On Saturday 31 October 2009 10.13.44 you wrote:
> How can umask be set on the remote host for chrooted sftp users?
[...]

Setup a umask for your users' class in login.conf(5). Perhaps add them in a
new class, eg.:

master.passwd(5):
user:*:1001:1001:sftp:0:0::/home/user:/bin/ksh

login.conf(5):
sftp:\
        :umask=027:\
        :tc=default:


Daniel

--
LIVAI Daniel
PGP key ID = 0x4AC0A4B1
Key fingerprint = D037 03B9 C12D D338 4412  2D83 1373 917A 4AC0 A4B1

Reply via email to