This is the mail archive of the 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]

Re: Spurious executable bits keep turning up

On Fri, 11 Jul 2003, Jason Lunz wrote:

> 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
> ( 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...
      |\      _,,,---,,_
ZZZzz /,`.-'`'    -.  ;-;;,_
     |,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:
Problem reports:

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