SFTP Umask
- From: "Agostinelli_CNTR, Mark A" <Mark.Agostinelli@xxxxxxxxxx>
- Date: Wed, 15 Aug 2012 15:05:09 +0000
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
Mark.Agostinelli@xxxxxxxxxx
_______________________________________________
sunmanagers mailing list
sunmanagers@xxxxxxxxxxxxxxx
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
- Prev by Date: SunOne 6.1 webserver SP13
- Next by Date: SVM question - weird issue
- Previous by thread: SunOne 6.1 webserver SP13
- Next by thread: SVM question - weird issue
- Index(es):
Relevant Pages
|