delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/07/21/03:39:41

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
Date: Wed, 21 Jul 2004 17:39:30 +1000 (EST)
From: luke DOT kendall AT cisra DOT canon DOT com DOT au
Subject: chown -R expanding / to //bin etc.
To: cygwin AT cygwin DOT com
MIME-Version: 1.0
Message-Id: <20040721073930.C5D6084CA3@pessard.research.canon.com.au>

I've noticed that if I do (*) a 

        chown -R administrator.SYSTEM /
        
then chown goes out onto the network and tries to access shares called
//bin, //var, //usr etc., and can block for long periods, too.

Now, I do understand that really I should be doing (**)

        chown -R administrator.SYSTEM `cygpath -w / | sed 's|\\|/|g'`

to restrict the chown to only affect Cygwin files anyway, but I'm still
interested in how the spurious //bin etc. names are generated.  (I.e.
whether that's actually a bug?)

Regards,

luke
-----
(*)
I'm trying to work around permission problems resulting from the Cygwin
*user* not being the same person as the cygwin *installer* on a machine.

(**)
Typically this would evaluate to:
	chown -R administrator.SYSTEM C:/Cygwin


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