| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| X-SWARE-Spam-Status: | No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_PASS |
| X-Spam-Check-By: | sourceware.org |
| Message-ID: | <4ABA19AD.8060100@gmail.com> |
| Date: | Wed, 23 Sep 2009 13:50:53 +0100 |
| From: | Dave Korn <dave DOT korn DOT cygwin AT googlemail DOT com> |
| User-Agent: | Thunderbird 2.0.0.17 (Windows/20080914) |
| MIME-Version: | 1.0 |
| To: | cygwin AT cygwin DOT com |
| Subject: | Re: Rsync and Alternate Data Streams |
| References: | <4ABA07B6 DOT 6030202 AT gmx DOT com> <20090923120812 DOT GZ20981 AT calimero DOT vinschen DOT de> <4ABA13AC DOT 2090509 AT gmx DOT com> |
| In-Reply-To: | <4ABA13AC.2090509@gmx.com> |
| 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 |
Andreas Heinlein wrote:
> thanks for your reply. It turned out I had not checked closely enough. I
> found out it has nothing to do with ADS, but with file ownership. Some
> of the files in question have UID and GID 4294967295 (aka 2^32-1),
> though they are owned by a valid Domain User. Rsync on the UNIX side
> sets the UID to 0 for these files, I overlooked this. I can work around
> this now by not preserving owner and group, which is not necessary in
> this case.
> But I still wonder where this comes from.
If they are owned by a valid Domain User, but Cygwin doesn't recognize that
and treats them as owned by the nobody user (uid/gid -1/-1), doesn't that mean
your /etc/passwd and /etc/group lack an entry for that user, and so need
updating, taking care to use the "-d" flag to mkpasswd/mkgroup?
cheers,
DaveK
--
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
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |