| www.delorie.com/archives/browse.cgi | search |
| 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 |
| Message-ID: | <424CD5CE.7DC5AA5C@dessent.net> |
| Date: | Thu, 31 Mar 2005 21:02:06 -0800 |
| From: | Brian Dessent <brian AT dessent DOT net> |
| Organization: | My own little world... |
| MIME-Version: | 1.0 |
| To: | cygwin AT cygwin DOT com |
| Subject: | Re: Path confusion |
| References: | <20050401044036 DOT D428B8553D AT pessard DOT research DOT canon DOT com DOT au> |
| X-IsSubscribed: | yes |
| Reply-To: | cygwin AT cygwin DOT com |
Luke Kendall wrote: > find `cygpath -m /` -xdev -user $USER -print \ > | tr "\n" "\000" \ > | xargs -0 chown Administrators.SYSTEM You can use -print0, and since find is a cygwin application I don't see what the point of using cygpath is: find / -xdev -user $USER -print0 | xargs -0 chown Administrators.SYSTEM Though I would be tempted just to do "chown -R / ..." or even better, just set the desired ACL on c:\cygwin before installing and let it be inherited. Brian -- 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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |