X-Spam-Check-By: sourceware.org Date: Tue, 15 May 2007 12:03:28 -0400 From: "John J. Culkin" Subject: SFTP Umask not propagating to sub folder To: cygwin AT cygwin DOT com Message-id: <4649D9D0.5080709@scranton.edu> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7bit User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) X-IsSubscribed: yes 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 All: I was having a hard time setting a Umask for files that were transfered via SFTP until Dave Korn kindly pointed me to this link - http://www.derkeiler.com/Newsgroups/comp.security.ssh/2005-09/0094.html I made a wrapper that sets the umask to 002 before starting the sftp server. Files in the root directory are set with the correct permissions but then files in subdirectories are created with permissions of 755 - any ideas? Thanks, -- John C. -- John J. Culkin Systems Administrator John DOT Culkin AT Scranton DOT edu The University of Scranton Phone: (570) 941-7665 -- 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/