At 4/24/2001 01:14 PM, you wrote:
>On Tue, Apr 24, 2001 at 11:58:13AM -0500, Chris Shaffer wrote:
>
> > I'm using SSH Secure File Transfer Client on Windows 2000, uploading files
> > to a Unix server.  The default permissions for files are umask 600 (e.g.
> > -rw-------).
>
>That would be umask 077 (or 066, which is atypical).
>
> > Is there any way to make the default umask 644 (e.g. -rw-rw-r--)?
>
>644 = -rw-r--r-- = umask 022
>664 = -rw-rw-r-- = umask 002
>
>Check to make sure the umask is set "properly" (probably 022) when you
>start up sshd.  If necessary, modify your boot script.

I'm using the SSH Secure File Transfer Client from ssh.com.  I'm just 
copying the umasks that the SSH Secure File Transfer Client reports when I 
right-click a file and choose 'properties.'  If I set the checkboxes to 
-rw------- it reports umask 600 and if I set it to -rw-rw-r-- (what I want) 
it reports umask 644.  I don't know how these relate to your translation of 
664 to umask 002.  At any rate, the real question is how do I change the 
default file permissions from within SSH Secure File Transfer Client?  One 
person suggested unchecking 'preserve file times' in the Global Settings, 
but that did not work.

I'm not entirely clear on what you mean about setting the umask when I 
start sshd, or modifying my boot script.  Are these things that the server 
admin would need to change in their setup of SSH on their server?  Or are 
they things I can change from within the settings dialogs in ssh.com's SSH 
Secure File Transfer Client?


-----
Chris Shaffer, Technology Coordinator
National Network of Libraries of Medicine, Greater Midwest Region
Library of the Health Sciences, University of Illinois at Chicago
[EMAIL PROTECTED]     http://www.nnlm.nlm.nih.gov/gmr/
312-996-2464 (voice)     312-996-2226 (fax)

Reply via email to