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


pechtcha@cs.nyu.edu said:
> Other than the obvious "chmod 600", you mean?

well, sort of. In this case, the full cygwin environment isn't being
installed. I'm just using ssh.exe and the cygwin DLL to temporarily set
up an ssh tunnel, but ssh complains when the permissions on its key file
are too loose. The key file is created when it's unpacked by NSIS.

On Win2k, ssh thinks the permissions are OK. on XP, it doesn't. I don't
know whether this is due to a difference between how NSIS creates the
file on 2K and XP, or whether it's a difference in how cygwin maps the
permissions for ssh on the two OSes. I was asking whether there were a
workaround for the latter without establishing whether that was actually
the problem. :)

It turns out that using chmod makes ssh happy under XP, so my problems
are solved. thanks.

Jason


--
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]