delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/07/11/11:29:49

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
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 <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Jason Lunz <lunz AT falooley DOT org>
cc: cygwin AT cygwin DOT com
Subject: Re: Spurious executable bits keep turning up
In-Reply-To: <slrnbgtkav.s1a.lunz@stoli.localnet>
Message-ID: <Pine.GSO.4.44.0307111123400.6088-100000@slinky.cs.nyu.edu>
Importance: Normal
MIME-Version: 1.0

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019