Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Secure-Shell
[Top] [All Lists]

Re: openssh: Default umask for SFTP?

Subject: Re: openssh: Default umask for SFTP?
Date: Wed, 11 Oct 2006 00:28:17 -0500 (CDT)
I have a question concerning default umasks when using SFTP under
openssh. In case it makes a difference, my servers are based on Redhat
Enterprise Linux Version 4 Advanced Server, and the version of the
openssh package is currently openssh-3.9p1-8.RHEL4.15.

The issue is that when I SFTP a file onto the server, the default umask
used seems to be 077, given that files are created with mode 600 and
directories with mode 700.

IIRC, you set this in the ".profile" for the user in question. I realize that there is a ".bash_profile", but I believe the ".profile" is read by the sftp server.


HTH,
Barry

<Prev in Thread] Current Thread [Next in Thread>