X-Spam-Check-By: sourceware.org To: Message-ID: <20070803085414.1832@blackhawk> From: "d.henman" Date: Fri, 03 Aug 2007 08:54:14 +0900 Subject: Re: links In-reply-to: Your message of Thu, 2 Aug 2007 10:40:16 +0200 <20070802084016.GR13674@calimero.vinschen.de> References: <20070731213343 DOT 3444 AT blackhawk> <20070731125915 DOT GA21952 AT calimero DOT vinschen DOT de> <20070802172219 DOT 1708 AT blackhawk> <20070802084016 DOT GR13674 AT calimero DOT vinschen DOT de> X-Mailer: MH-E 8.0.3; GNU Mailutils 1.1.90; GNU Emacs 22.1.50 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 Corinna Vinschen wrote: > On Aug 2 17:22, wynfield wrote: > > Corinna Vinschen wrote: > > > 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 > > > > What is the "R/O" attribute. > > Ever heard about DOS attributes? READONLY, SYSTEM, HIDDEN, etc. I was thinking in terms of unix permission where r is read only unless w is also specifed to get write permissions. DOS attributes did not enter my mind. I must have somewhow removed the NTFS*s read only attribute somehow. Its effects are starting to show up. When re-installing with setup > People asked for it for interoperability with Windows Explorer. U/WIN > uses them, too. .... > There are two of them, one kind with the SYSTEM attribute set, another > one which are Windows shortcuts (with .lnk suffix) and R/O DOS attribute > set. The SYSTEM type was the only one until 2001, default until 2002, > and still produced by setup.exe. The Windows shortcut type is created > by Cygwin since 2001 and default since 2002. > > The R/O attribute is necessary to recognize .lnk files as Cygwin > symlinks. This is a measure for speed. Testing the attribute is much > faster than opeing the file and reading it all the time. Thanks for the useful explanation. Regards -- 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/