X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org MIME-Version: 1.0 Date: Wed, 30 Dec 2009 15:30:27 +0200 Message-ID: Subject: Symbolic links problem with cygwin 1.7.1 in 64-bit Win7 Command Prompt From: tuli tanssi To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=ISO-8859-1 Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 Hi, I've been using gcc and other tools in older versions of cygwin with 32-bit Windows XP and Vista from windows command prompt (cmd.exe) without problems. But now I'm using 64-bit Windows 7, and some command line tools like gcc.exe do not work anymore (from cmd.exe). They do work ok from Cygwin's bash. The message I get when trying to run gcc in cmd.exe is: "Access is denied." Anyway, only some tools don't work, e.g. 'ls' works ok from cmd.exe. I noticed that all cygwin tools that are actually symbolic links to somehere else (just like /bin/gcc.exe and some others) are the problematic tools. Also /bin/gcc.exe has System rights (as seen by Attrib command of windows), while tools that do work have only Archive rights. So the I guess the problem is related to how symbolic links are created and with what rights. Anyone else tried this? Any solutions? Cheers, Tuli -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple