delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/12/01/18:13:19

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Message-ID: <49346E40.4050003@cygwin.com>
Date: Mon, 01 Dec 2008 18:07:44 -0500
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.18) Gecko/20081120 Remi/2.0.0.18-1.fc8.remi Lightning/0.9 Thunderbird/2.0.0.18 Mnenhy/0.7.5.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: NT-Authority/System will be file owner after rsync restore
References: <ggv36a$mkb$1 AT ger DOT gmane DOT org> <493317D0 DOT 1030805 AT cygwin DOT com> <gh1nks$sh0$1 AT ger DOT gmane DOT org>
In-Reply-To: <gh1nks$sh0$1@ger.gmane.org>
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

Matthias Meyer wrote:

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

Well services on <= XP run under the local system account so I'm
guessing that your backup service is using the permissions of the
creator of the backup files rather than the original permissions.
'rsync', according to the man page, says that it has '-p' and
'-A' flags to preserve the original permission IDs (or '-a' which
includes '-p').  Are you using any of these?

-- 
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 893-9889 - FAX
Holliston, MA 01746

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

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