[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

umask with sftp



I've done some research on setting the umask with sftp.  And I've found a way 
to do that to make it active.  My problem is that when I set my umask to 007 
expecting a file uploaded with that umask to have permissions of 660, I 
instead end up with a file with permissions of 640.  I can't find anywhere 
that is taking the write off of that file.  If I set my umask to 077 the 
permissions are set as expected.  How do I set my umask up so that a file 
uploaded via sftp ends up with permissions of 660?  

Thanks,
-- 
~R~
----------------------------------------------------------
Mencken and Nathan's Ninth Law of The Average American:
	The quality of a champagne is judged by the amount of noise the
cork makes when it is popped.



Reply to: