Setting up a shared sftp file area

Ben Williams ben.williams at gmail.com
Wed May 25 09:01:41 EDT 2005


On 5/25/05, Jerry Feldman <gaf at blu.org> wrote:
> This is not going to work because there are 3 different sessions. The
> umask you set for session 1 will not apply to session 2 because session
> 2 is a different process and not a subprocess of session 1.
Yeah, I put session 1 in to demonstrate that my startup scripts are setting
the umask. My hope was that scp invokes the shell the same way and should
therefore have the same umask. I think I found my problem, though: OpenSSH
only started respecting the umask as of version 3.7 (according to the release
notes[1]), and RH9 is on version 3.5.

  [1]: http://www.openssh.com/txt/release-3.7



More information about the Discuss mailing list