Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs Date: Fri, 11 Jul 2003 11:28:44 -0400 (EDT) From: Igor Pechtchanski Reply-To: cygwin AT cygwin DOT com To: Jason Lunz cc: cygwin AT cygwin DOT com Subject: Re: Spurious executable bits keep turning up In-Reply-To: Message-ID: Importance: Normal MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Fri, 11 Jul 2003, Jason Lunz wrote: > ht AT cogsci DOT ed DOT ac DOT uk said: > > Sorry if this is an FAQ, I've searched the archives but found nothing. > > > > I run under XP, CYGWIN=tty ntsec. > > > > Files produced by a range of mechanisms (at least FileOutputStream in > > Java, xemacs, MS Word) show up as executable (-rwxrwxrwx), which is > > somewhere between distracting, irritating and a real problem. What am > > I doing wrong? > > I'm having the same problem. An ssh private key unpacked by nsis > (http://nsis.sf.net) under XP has 0777 permissions, meaning that a > cygwin-compiled ssh.exe refuses to use it. But this works under win2k. > Is there any workaround for this? > > Jason Other than the obvious "chmod 600", you mean? Well, you could try "mount -E", but that would be like using cannon on pidgeons... You could also turn off inheritable permissions on c:\cygwin (by going to "Properties->Security->Advanced" and unchecking the box -- at least on Win2k). There's really not much else you can do... Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT com |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "I have since come to realize that being between your mentor and his route to the bathroom is a major career booster." -- Patrick Naughton -- 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/