On Fri, Aug 8, 2008 at 5:01 PM, Rob <robbyt at robbyt.net> wrote: > Hi All, > Sorry for the very simple question, but i'm running opensolaris 2008.5, and > not sure how to set the default umask for scp uploads. I've tried changing > this setting in /etc/profile, /etc/defaults/login, and in individual users' > .bashrc and .profile. > > The umask is getting applied when users ssh in and create directories and > files, but for some reason SCP/SFTP ignores it. > > Is this even possible? Is there something i'm missing? >
You can try putting the umask statement in the user's .kshrc or .bashrc file in stead of in .profile -- Any sufficiently advanced technology is indistinguishable from magic. Arthur C. Clarke Afrikaanse Stap Website: http://www.bloukous.co.za My blog: http://initialprogramload.blogspot.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/opensolaris-help/attachments/20080808/3cc5e92c/attachment.html>