www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/04/11/20:47:43

X-Recipient: archive-cygwin AT delorie DOT 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 AT cwilson DOT fastmail DOT 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 AT cygwin DOT com
Subject: Re: using rsync with Win32/UNC pathnames?
References: <47F229BD DOT 2060507 AT byu DOT net> <47F22BD6 DOT 3040801 AT wpkg DOT org> <47F22DF5 DOT 6020108 AT byu DOT net> <20080401124823 DOT GQ4468 AT calimero DOT vinschen DOT de> <47F23164 DOT 8040604 AT wpkg DOT org> <23fce8e60804011425q1342c521y6849a8e405480389 AT mail DOT gmail DOT com> <47F371B6 DOT 3050107 AT wpkg DOT org> <47F539B6 DOT 3961D2ED AT dessent DOT net> <20080403204802 DOT GE4468 AT calimero DOT vinschen DOT de> <47FF58DE DOT 2010800 AT wpkg DOT org> <20080411141809 DOT GJ23852 AT calimero DOT vinschen DOT de> <47FF8C1F DOT 5070309 AT wpkg DOT org>
In-Reply-To: <47FF8C1F.5070309@wpkg.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

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019