delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/05/06/07:49:20

X-Spam-Check-By: sourceware.org
Message-ID: <463DBEC4.2070609@bonhard.uklinux.net>
Date: Sun, 06 May 2007 12:40:52 +0100
From: fergus <fergus AT bonhard DOT uklinux DOT net>
User-Agent: Thunderbird 1.5.0.10 (Windows/20070221)
MIME-Version: 1.0
To: Cygwin ML <cygwin AT cygwin DOT com>
CC: fergus <fergus AT bonhard DOT uklinux DOT net>
Subject: Cygwin on portable drive, loss of +R on *.lnk
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

Invariably on connecting my portable drive to a running XP machine, Windows runs through AutoPlay and ends by offering various tasks including None Of These, which is the option I always choose. The portable drive contains a complete Cygwin installation with all links *.lnk marked +R. I have never experienced difficulty using Cygwin set up in this way: actually, using a script that attends to the mount requirements, it works faultlessly on any number of machines including workplace machines with their paranoid owner/ user/ guest protections apparently in place. So I have exactly one Cygwin setup, usable wherever I am on whatever machine, which is a very simple and robust arrangement.
A colleague with an identical setup reports that recently on insertion of the portable drive into a Windows machine, and after AutoPlay had run, all +R file attributes were lost on the portable machine, rendering all links inoperable. (For clarity: the files *.lnk were still there and unchanged, just the +R attribute had been clobbered. Effective cure: run "attrib +r *.lnk /s" from a Command prompt.)
Can anybody offer any illumination on this reported phenomenon and if so, suggest a procedure for preventing its occurrence? Thank you.
Fergus


--
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