SFTP Umask not propagating to sub folder

John J. Culkin culkinj3@Scranton.edu
Tue May 15 17:03:00 GMT 2007


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/



More information about the Cygwin mailing list