You can set umask in a bootup script.

Sergey

Joseph Tegg wrote:
> 
> Dave Fielding wrote:
> >
> > Does anybody know why when using sftp it ignores your umask?  The ssh2 shell
> > seems to work fine but the sftp does not
> >
> > Thanks for any help,
> >
> > Dave Fielding
> > TransAxis
> 
> I think you will find that any FTP Server that you connect with, will do
> the same thing. If you set your UMASK in your .login/ .cshrc/ .bashrc/
> etc... the FTP client does not get it. Most FTP servers do allow the
> admin to configure a 'Default' UMASK for users, which might be the same
> one you set for yourself. As far as the SFTP server, I don't think it
> has that functionality as of yet. You can set it manually, with the
> command 'umask <desired umask>'. Hope this assists you.
> 
> --
> 
> --------
> Joseph Tegg
> Sun Microsystems Enterprise Administrator
> Nielsen Media Research (Contractor)
> Quote:
> "Security through obscurity is inherently insecure." - me

Reply via email to