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 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0 Subject: RE: problem after installing New Cygwin DLL 1.3.13-1 release Date: Tue, 15 Oct 2002 14:04:23 -0400 Message-ID: <83040F98B407E6428FEC18AC720F5D732DB72A@exchange.tropicnetworks.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: From: "Rolf Campbell" To: Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id g9FI4Wb26766 I have the same problem. I'm running 1.3.13-2. (I'm running GCC 3.2 if that makes any difference). >g++ -W -Wall CmdLine.cpp -o CmdLine.exe >./CmdLine.exe bash: ./CmdLine.exe: Permission denied >ls -l CmdLine.exe -rw-rw-rw- 1 1643 None 417806 Oct 15 13:59 CmdLine.exe >chmod +rwx CmdLine.exe chmod: changing permissions of `CmdLine.exe': Invalid argument When I look at the security settings in Windows, "Read" and "Write" are checked, but "Read & Execute" is not checked. If I check that, then everything works as it should (I can run the program, I can chmod it). Until I compile it again. Then I get back in the same situation. -Rolf Campbell ======================================= First, upgrade to Cygwin DLL 1.3.13-2. Second, read the recent email list messages related to "ntsec" and it being the new default. Third, check out the user guide if you don't understand what "ntsec" does for you. I can't speak to your issue regarding chmod, since I don't see any problems here and I don't know what you did or even if you're using a Cygwin version of chmod. Larry Original Message: ----------------- From: ZHAO,YE-MING (HP-China,ex2) yeming-zym DOT zhao AT hp DOT com Date: Tue, 15 Oct 2002 18:18:40 +0800 To: cygwin AT cygwin DOT com Subject: problem after installing "New Cygwin DLL 1.3.13-1 release" Hi, Today I visit www.cygwin.com and run the setup.exe as usual, and there seems some updates. After that, I suddenly find that when I compile file with gcc, it generates the bin but I cannot run it. The reason is that the file generated by gcc is -rw-rw-rw-, and I even cannot "chmod" it(output is "chmod: changing permissions of `a.exe': Invalid argument"). Everything is all right before the updates. And I didn't select gcc or any other thing during update. The update is by default. btw, BCC32.exe(borland cpp compiler) works well. I don't know why, so I'm writing this mail asking for help. thanks, -bryan I run cygwin as administrator on: Windows 2000 Professional. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/