SFTP Umask
"Agostinelli_CNTR, Mark A" <[email protected]> Wed, 15 Aug 2012 15:05:09 +0000
| Newsgroups | gmane.os.solaris.managers |
|---|---|
| Message-ID | <DFA4AA7335805E4F845DC480235CA8549B1DB413@nediacdag001bu.dodiis.mil> |
I have virtual X86 Solaris 10 server I just installed the latest July CPU to. Up until the patches were installed the umask applied to new directories and files on the server was 002. I'm not sure if that was based on the users umask in .login/.cshrc, or the default umask, but now all new files and directories are being created with a mask of 077. The sshd_config now has "Subsystem sftp internal-sftp" where before it was "Subsystem sftp /usr/lib/ssh/sftp-server". This is a web server that makes heavy use of group access rights for file modification and read access for "other" to serve out files. What determines a users umask when they are using sftp to access the server? I tried changing the sftp subsystem to "Subsystems sftp internal-sftp -u 0002" with no affect. I also tried putting back sftp-server but it didn't help. Can anyone tell me how to fix this? OS: Solaris 10 8/07 SSH-2.0-SUN_SSH_1.1.4 running. Thanks, Mark [email protected]