X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: Yes, hits=5.8 required=5.0	tests=BAYES_20,BOTNET,RCVD_IN_DNSWL_NONE,SPF_NEUTRAL
X-Spam-Check-By: sourceware.org
Message-id: <4D215676.9010900@jackson.io>
Date: Sun, 02 Jan 2011 23:54:14 -0500
From: Ken Jackson <cygwin@jackson.io>
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101209 Fedora/3.1.7-0.35.b3pre.fc14 Thunderbird/3.1.7
MIME-version: 1.0
To: cygwin@cygwin.com
Subject: Re: unknown owner 4294967295 should be Adminstrators
References: <ifq7bt$dbo$1@dough.gmane.org>
In-reply-to: <ifq7bt$dbo$1@dough.gmane.org>
Content-type: text/plain; charset=ISO-8859-1; format=flowed
Content-transfer-encoding: 7bit
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.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


> How to chown all files from 4294967295:18 to 544:18 or, at least, recognize
> the files to be owned by "Administrators".
>
> chown -R ... would not work because it will chown all files. Also the files
> not owned by 4294967295.
>
> chown -vR --from=4294967295:18 Adminstrators:SYSTEM ...
> chown: invalid user: `4294967295:18'
I don't have a cygwin system handy to test at the moment, but I think this will work.

find . -uid 4294967295 -exec chown Administrators {} +


BTW, did you notice that that number is suspiciously equal to 0xFFFFFFFF?

-Ken Jackson

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

