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:message-id:date:from:mime-version:to:subject :content-type:content-transfer-encoding; q=dns; s=default; b=URU BTIqGo7Eh97w7HFTI4mhlZAA/96+qanOBi1lLlhHYjBmSAq9K20U1GMZQTb9JfUt fnpnBXxUCMzFLaso55u8KhOQGZhMAyXmujclVSBKaiFyXCjombbN3X4+ymTPlMoi iJFPIV03bcNDnW2h/5LJHJp4hnKEDMNJjvXK2zO4= 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:message-id:date:from:mime-version:to:subject :content-type:content-transfer-encoding; s=default; bh=5x7+Xcedq ko16uH6K4R5qjxIxS4=; b=Jbk4AWggnGgXqPgXemonqUp/w58MkyfI7IZC7j1ZX j7433SmzUoI6DJAXahnNHHzijbSz1IsVQ/i4Qc8Um10WrqqgxAFoNEbGn9RaKmu4 butNDzjJOC0md5JiCbFZ5NGg0zccngXNaxSgYGnu0vTXqZlOCUx4daW1H09HoPWL 44= 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: No, score=-0.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 X-HELO: mout.kundenserver.de Message-ID: <551AA216.2050401@towo.net> Date: Tue, 31 Mar 2015 15:33:10 +0200 From: Thomas Wolff User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Yet more about permissions Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-UI-Out-Filterresults: notjunk:1; X-IsSubscribed: yes [Not sure whether this has been described before] I copied a zip file from my dropbox folder, where it has the following permissions by means of Dropbox: ----rwx---+ 1 towo None 691436 30. Mrz 18:32 m.zip # file: m.zip # owner: towo # group: None user::--- group::--- group:root:rwx group:Authentifizierte Benutzer:rwx group:SYSTEM:rwx group:Benutzer:r-x mask:rwx other:--- So it is actually readable although that's not indicated by ls -l. After copying it to a local drive, it keeps its permissions and ACL (using cp -p). Then I deleted one file from the archive: zip -d m.zip ...whatever... And the updated archive had its ACL dropped, leaving these permissions: ----rwx--- 1 towo None 691244 31. Mrz 15:31 m.zip So it's no longer readable. (Assumedly zip just ignores ACL and copies the visible permissions for its output file.) Wasn't the plan (or one of the options) to make permissions appear as the effective permission actually are, ORing all relevant ACL entries? Thomas -- 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