X-Spam-Check-By: sourceware.org Date: Tue, 31 Jul 2007 14:59:15 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: links Message-ID: <20070731125915.GA21952@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <20070731213343 DOT 3444 AT blackhawk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070731213343.3444@blackhawk> User-Agent: Mutt/1.4.2.2i Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 On Jul 31 21:33, wynfield AT gmail DOT com wrote: > > > > I never noticed .lnk externsion files in my /cygwin directories, but now I > seem to have a lot. Also there are the links that show up with the > permission flags and pointer -> as shown below. > > I think either a) a test version of setup caused it and it is wrong or > b) it is intentional and alright, or c.) some strange artifact of typing way to fast without thinking about file system effects by me... > > lrwxrwxrwx 1 djh Users 19 Jul 16 09:33 /bin/db_hotbackup.exe -> db4.5_hotbackup.exe > -rwxr-x---+ 1 djh Users 343 Jun 30 23:38 /bin/db_load.exe.lnk > > lrwxrwxrwx 1 ???????? Users 7 Jun 30 23:35 uniqleaf -> texexec > -rwxr-x---+ 1 djh Users 975360 Jul 7 03:18 unison-2.13.exe > -rwxr-x---+ 1 djh Users 145 May 25 10:21 unison.exe.lnk > > and > > ls -l /usr/include/*png* > -rw-r--r--+ 1 djh 137 Jun 17 11:05 /usr/include/libpng.lnk > -rw-r--r--+ 1 djh 135 Jun 17 11:05 /usr/include/png.h.lnk > -rw-r--r--+ 1 djh 143 Jun 17 11:05 /usr/include/pngconf.h.lnk > > With this when I try to build a program, ie, emacs, it dies saying > it can not find png.h > > Any help and advice is appreciated. You probably removed the R/O attribute from the .lnk files. It's essential for shortcats to be recognized as Cygwin symlinks. Try something along the lines of cd /usr/include attrib +r png.h.lnk or, for a bulk conversion find / -xdev -name '*.lnk' -exec attrib +r '{}' \; and see if it helps. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- 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/