fixed permissions check for executable files exported on systems where 'ls' reports alternative access characters
205: License for JCraft JSch package
206: ------------------------------------------------------------------------------
207: Copyright (c) 2002,2003,2004,2005,2006,2007 Atsuhiko Yamanaka, JCraft,Inc.
Copyright (c) Christian Plattner
208: All rights reserved.
209:
210: Redistribution and use in source and binary forms, with or without
211: modification, are permitted provided that the following conditions are met:
212:
213: 1. Redistributions of source code must retain the above copyright notice,
214: this list of conditions and the following disclaimer.
215:
216: 2. Redistributions in binary form must reproduce the above copyright
217: notice, this list of conditions and the following disclaimer in
218: the documentation and/or other materials provided with the distribution.
219:
220: 3. The names of the authors may not be used to endorse or promote products
221: derived from this software without specific prior written permission.
222:
223: THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES,
224: INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
225: FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL JCRAFT,
226: INC. OR ANY CONTRIBUTORS TO THIS SOFTWARE BE LIABLE FOR ANY DIRECT, INDIRECT,
227: INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
228: LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
229: OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
230: LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
231: NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
232: EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.