X-Spam-Check-By: sourceware.org
To: <cygwin@cygwin.com>
Message-ID: <20070803085414.1832@blackhawk>
From: "d.henman" <dhenman@gmail.com>
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.3444@blackhawk> 	 <20070731125915.GA21952@calimero.vinschen.de> 	 <20070802172219.1708@blackhawk> 	 <20070802084016.GR13674@calimero.vinschen.de>
X-Mailer: MH-E 8.0.3; GNU Mailutils 1.1.90; GNU Emacs 22.1.50
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com



Corinna Vinschen <corinna-cygwin@cygwin.com> 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/

