This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]