The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Special Forums > UNIX Desktop for Dummies Questions & Answers
Google UNIX.COM



Thread: Sftp Umask
View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 09-16-2007
mdjuarsa mdjuarsa is offline
Registered User
 

Join Date: Jul 2007
Posts: 6
Sftp Umask

Hi All,

in my HP-UX 11.11 , there is an parameter of SFTP_UMASK at env,
but How do we use it ?

I tried with type : SFTP_UMASK=022
and when I type : env
the SFTP_UMASK value has changed to 022 .

but when I send a file with use SFTP from other pc/server .
It still umask 077 (chmod 700) on the file .

What should I do If I need to set one user to get an umask=022 when the file comes from SFTP ??


Thx
-dju
Reply With Quote
Forum Sponsor