This is the mail archive of the cygwin@cygwin.com 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:

> ht@cogsci.ed.ac.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@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.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/


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