delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/12/01/17:15:57

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Matthias Meyer <Matthias DOT Meyer AT gmx DOT li>
Subject: Re: NT-Authority/System will be file owner after rsync restore
Date: Mon, 01 Dec 2008 23:14:49 +0100
Lines: 39
Message-ID: <gh1nks$sh0$1@ger.gmane.org>
References: <ggv36a$mkb$1 AT ger DOT gmane DOT org> <493317D0 DOT 1030805 AT cygwin DOT com>
Reply-To: Matthias DOT Meyer AT gmx DOT li
Mime-Version: 1.0
User-Agent: KNode/0.10.9
X-IsSubscribed: yes
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

Larry Hall (Cygwin) wrote:
> 
> Could be.  I don't know much about rsync.  However, if that is the
> uid/gid, it maps to -1 (don't know why it's represented as a 32-bit value
> though.) Anyway, if you and I are right, then my WAG is that your
> '/etc/passwd' and/or '/etc/group' file(s) are wrong.
> See <http://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-ids> for more
> details on Cygwin special IDs.
> 
Thanks Larry,

One step to the goal ;-)

I lost my /etc/passwd and /etc/group. Do not know why :-(
I create new ones with:
bin>mkpasswd -l > /etc/passwd
bin>mkpasswd -g > /etc/group

create a new file /etc/test.txt
bin>ls -alh /etc/test.txt
bin>-rwx------+ 1 meyer Kein 0 Dec  1 23:01 /etc/test.txt

Than I run a backup:
After that my backup-protocol shows:
  create   644    18/544           0 etc/Test.txt

But 18/544 is SYSTEM:Administratoren
as /etc/passwd -> SYSTEM:*:18:544:,S-1-5-18::
and /etc/group -> Administratoren:S-1-5-32-544:544:
shows.

I've tried this with both, "cygrunsrv -I backup ..." as well as
with "cygrunsrv -I backup -e CYGWIN=nontsec ..."

Any further hint?
Thanks
Matthias
-- 
Don't panic


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