delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/08/02/19:54:50

X-Spam-Check-By: sourceware.org
To: <cygwin AT cygwin DOT com>
Message-ID: <20070803085414.1832@blackhawk>
From: "d.henman" <dhenman AT gmail DOT 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 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
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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 <corinna-cygwin AT cygwin DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019