Re: SFTP

From: Martin Ostlund (mo@ares.sot.com)
Date: 08/20/01


Date: Mon, 20 Aug 2001 22:15:02 +0300 (EEST)
From: Martin Ostlund <mo@ares.sot.com>
To: Jarno Huuskonen <Jarno.Huuskonen@uku.fi>
Subject: Re: SFTP
Message-ID: <Pine.LNX.4.10.10108202214230.32260-100000@ares.sot.com>


> > Did you try setting the umask in the startup script for the SSH
> > server? Solaris FTP used to have this problem, and that was the
> > solution.
>
> Instead of umask problem it could be that you have left 'preserve time'
> or something like that setting on in the ssh.com's windows ssh
> client. With this setting on all the files transferred from windows had
> 666 permissions ... (I think it was with ssh client 2.3.0 I haven't
> tested any newer versions).
>
> -Jarno

This is also verified with sftp <-> sftp under Linux, I *think* I verified
this wirh 2.4.x.

-martin

 

--
Martin Östlund, Technical Support Manager
Best Linux Sverige AB.
Teknikringen 1B, S-583 30 LINKÖPING, SWEDEN

Phone: +46 13 210 350 Fax: +46 13 210 451 Mob: +46 73 350 86 81 martin.ostlund@sot.com http://www.bestlinux.se/



Relevant Pages

  • Re: Problem with chuser and pgrp/grp settings
    ... If I use ssh to create users -- e.g. "ssh targetserver ... But if I run the mkuser command with exactly the same ... permissions are correctly 770 on the home directory. ... The process umask setting determines the right of ...
    (comp.unix.aix)
  • Re: set umask for sftp connection
    ... which imho is not set by the unix system. ... So probably since sshd runs as root it's taking the default umask from ... > there should be a possibility to change file permissions in WSFtp ... Maybe in ssh or sftp config file? ...
    (comp.security.ssh)
  • Re: SFTP
    ... >> I discovered a while back that sftp doesnt really follow umask correctly, ... > Did you try setting the umask in the startup script for the SSH ... Instead of umask problem it could be that you have left 'preserve time' ... or something like that setting on in the ssh.com's windows ssh ...
    (Focus-Linux)
  • Re: Problem with chuser and pgrp/grp settings
    ... The process umask setting determines the right of ... the user home directory. ... ssh MyAIXServer umask gives: 0022 ...
    (comp.unix.aix)