This is the mail archive of the
cygwin
mailing list for the Cygwin project.
SFTP Umask not propagating to sub folder
- From: "John J. Culkin" <culkinj3 at Scranton dot edu>
- To: cygwin at cygwin dot com
- Date: Tue, 15 May 2007 12:03:28 -0400
- Subject: SFTP Umask not propagating to sub folder
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.Culkin@Scranton.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/