X-Spam-Check-By: sourceware.org From: "Dave Korn" To: References: <464332F0 DOT 6090209 AT scranton DOT edu> Subject: RE: Change SFTP UMask Date: Thu, 10 May 2007 16:04:17 +0100 Message-ID: <054801c79314$7b137450$2e08a8c0@CAM.ARTIMI.COM> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On 10 May 2007 16:04, Dave Korn wrote: > On 10 May 2007 15:58, John J. Culkin wrote: > >> Hello >> >> Does anyone know of an easy way to change the UMask of SFTP on CYGWIN? For >> one user and/or globally? >> >> For example when I create a via via SFTP, I want its permissions to be >> 774 instead 664 (the default) > > Set it in the .bashrc of the user you're logging in as at the destination > end. Erk. Or possibly the .bash_profile; I'm not sure whether sftp counts as an interactive login and therefore precisely which startup scripts it would run. cheers, DaveK -- Can't think of a witty .sigline today.... -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/