X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:reply-to:message-id:to:subject :in-reply-to:references:mime-version:content-type :content-transfer-encoding; q=dns; s=default; b=x40Mr2mOs0PSwAwK wGrVJhw4MOqZ2MtrydUuR1ZJaMvv3eSXzrYDkIJAXxYlsLTGjaDke8EQBI0wzQ2R XBBxLqxyddlhQdCZ5tIbrvzPBqb2iXl2wrQqwzIRWuctbrWWNlVk/KZOOrNTbJF3 zPfIIocRhRd6V/vQ4azKca7gy0E= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:reply-to:message-id:to:subject :in-reply-to:references:mime-version:content-type :content-transfer-encoding; s=default; bh=gZ2gwEtMzkVZLHmScHGsm1 ggSPU=; b=NpkbnxztoaT/hShh98bI5oby4LAC9MQvXnw0Njd/HJyi3WBwnQimzk e6qJmo/ZC3GFSdq39hmIT4qvK2z8ldvESxIoD7Qp4iB0QcqW3dfCbX/Kdzp9gUjq U/t73M0z0iqN0at0bRo5Lmox8ARZXM/ugLqDrMceWtGiYXk/wo7lI= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: Yes, score=5.3 required=5.0 tests=AWL,BAYES_99,FREEMAIL_FROM,KAM_THEBAT,SPF_SOFTFAIL autolearn=no version=3.3.2 spammy=H*UA:Bat!, H*x:Bat!, H*r:sk:postmas, H*F:D*yandex.ru X-HELO: smtp.ht-systems.ru Date: Thu, 10 Mar 2016 01:01:02 +0300 From: Andrey Repin Reply-To: cygwin AT cygwin DOT com Message-ID: <1933295197.20160310010102@yandex.ru> To: Marc Rechte , cygwin AT cygwin DOT com Subject: Re: RFC2307 accounts In-Reply-To: <56E00DF7.7060406@studelec-sa.com> References: <56DFCC21 DOT 8070506 AT studelec-sa DOT com> <56DFE973 DOT 2070406 AT maxrnd DOT com> <56DFFE26 DOT 9080705 AT studelec-sa DOT com> <20160309112750 DOT GA14733 AT calimero DOT vinschen DOT de> <56E00DF7 DOT 7060406 AT studelec-sa DOT com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Greetings, Marc Rechte! > OK, I noticed that. Now it brings me a problem using rsync on cygwin. > On cygwin: > $ cat /etc/rsyncd.conf > [test] > path = /cygdrive/c/tmp > comment = zone de test > fake super = yes > read only = no > On the Linux box: > # ls -l /home/tunix/ > ... > drwxr-xr-x 3 tunix root 4096 9 mars 12:23 resto_win > -rw-rw-r--+ 1 tunix utilisateurs_du_domaine 82882 9 mars 10:56 tmp.ps > # rsync -avz --acls --delete /home rsync://192.168.0.23/test > .. > # rsync -avz --acls --delete rsync://192.168.0.23/test/home/tunix resto_win/ > ... > # ls -l /home/tunix/resto_win/tunix/ > ... > drwx------ 2 1050005 1049089 4096 9 mars 12:14 resto_win > -rw------- 1 1050005 1049089 82882 9 mars 10:56 tmp.ps > You will notice that owner, group and ACLs are *not* restored properly > Am I demanding too much to cygwin ? No, you're demanding too much of rsync, which wasn't built with sane permission system in mind. Use SSH or direct (cifs) copying. Then the names will match. Your problem is that you expect Cygwin to be *NIX, but in fact, it isn't. It is a Windows application, and it follows Windows permission model. (Which, IMO, is saner, than POSIX one.) -- With best regards, Andrey Repin Thursday, March 10, 2016 00:58:07 Sorry for my terrible english... -- 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