X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=0.6 required=5.0 tests=AWL,BAYES_50,RCVD_IN_DNSWL_NONE,TW_LR,T_RP_MATCHES_RCVD,UNPARSEABLE_RELAY X-Spam-Check-By: sourceware.org Message-ID: <4CF34919.90303@t-online.de> Date: Mon, 29 Nov 2010 07:32:57 +0100 From: Christian Franke User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.15) Gecko/20101027 SeaMonkey/2.0.10 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Question about cygwin + rsync and file permissions References: <4CA9EFBC87EEBF4189426E215F5DB7A8F043A47C AT NAMAIL02 DOT gs DOT adinternal DOT com> In-Reply-To: <4CA9EFBC87EEBF4189426E215F5DB7A8F043A47C@NAMAIL02.gs.adinternal.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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 On 2010-09-16 Saxon, Will wrote: > I am trying to copy files from a Linux machine to Windows using rsync. I am using rsync 3.0.7 and cygwin 1.7.5. > > The source files on the linux machine are all owned by root:root with mode 0755. When I copy them with the following command: > > rsync -clrtv --chmod=ugo=rwX rsync://@linux/path/to/files /cygdrive/d/path/to/destination > > I get the files, but the user who performs the copy ends up with strange permissions on them. There are two 'special' permissions entries, one with a list of denied permissions and the other with a list of permitted ones. > > Denied permissions: > Traverse Folder / Execute File > List Folder / Read Data > Read Extended Attributes > Create Files / Write Data > Create Folders / Append Data > Write Extended Attributes > > Workaround: Add -p, --perms option to rsync command. Analysis and patch (no reply so far): http://cygwin.com/ml/cygwin/2010-11/msg00429.html -- Christian Franke -- 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