X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
Message-ID: <4800068D.8000005@cwilson.fastmail.fm>
Date: Fri, 11 Apr 2008 20:47:09 -0400
From: Charles Wilson <cygwin@cwilson.fastmail.fm>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.12) Gecko/20080213 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: using rsync with Win32/UNC pathnames?
References: <47F229BD.2060507@byu.net> <47F22BD6.3040801@wpkg.org> <47F22DF5.6020108@byu.net> <20080401124823.GQ4468@calimero.vinschen.de> <47F23164.8040604@wpkg.org> <23fce8e60804011425q1342c521y6849a8e405480389@mail.gmail.com> <47F371B6.3050107@wpkg.org> <47F539B6.3961D2ED@dessent.net> <20080403204802.GE4468@calimero.vinschen.de> <47FF58DE.2010800@wpkg.org> <20080411141809.GJ23852@calimero.vinschen.de> <47FF8C1F.5070309@wpkg.org>
In-Reply-To: <47FF8C1F.5070309@wpkg.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Tomasz Chmielewski wrote:
> If you want, download http://wpkg.org/test.7z
> 
> You will need 7zip to extract it (or something compatible).

Such as the cygwin p7zip program, or the native programs distributed by 
the upstream 7zip project (google...)

However, be warning: 7zip -- and the 7zip format -- contain NO 
provisions for storing unix style permissions, unix style ACLs, nor 
Windows/NTFS style ACLs.

Therefore, if Corinna 'unpacks' you test file, she will NOT necessarily 
be testing your exact scenario.  So, you need to use a tool that cares 
for such things (the exact tool will depend on the OS (and cygwin, if 
OS=win) for your server, and for your client.

I point this out, because it may not be a UTF filename encoding problem 
at all. You just might not have the appropriate permissions to access 
the (remote, local) files.

So:

 > It looks like it looses the special character in tar or zip, but
 > 7zip can store it just fine.

So: use 7zip and keep the encoding -- but lose the permissions. Use 
tar/zip, and keep the permissions but lose the encodings.

Maybe you should post the output, on your (remote?) system, of
getfacl -f emptydir
getfacl -f file-in-empty-dir

--
Chuck

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

