www.delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
Date: | Tue, 15 May 2007 12:03:28 -0400 |
From: | "John J. Culkin" <culkinj3 AT Scranton DOT edu> |
Subject: | SFTP Umask not propagating to sub folder |
To: | cygwin AT cygwin DOT com |
Message-id: | <4649D9D0.5080709@scranton.edu> |
MIME-version: | 1.0 |
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: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |