NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bin/49798: unzip: Infozip compatibility: file permissions



The following reply was made to PR bin/49798; it has been noted by GNATS.

From: Joerg Sonnenberger <joerg%britannica.bec.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: bin/49798: unzip: Infozip compatibility: file permissions
Date: Mon, 30 Mar 2015 11:13:51 +0200

 On Mon, Mar 30, 2015 at 09:00:00AM +0000, Thomas Klausner wrote:
 > When unpacking zip files, NetBSD unzip is rather permissive and adds
 > e.g. executable bits to files. (The code is trying to work around issues
 > with included directories that don't have the x bit set and corresponding problems
 > when files should be unpacked there.)
 
 That's only for directories and not for files. For files, the frontend uses
 whatever is in the zipfile. The backend on the other defaults to 0777
 for now, which also makes sense as zip files behave like MSDOS file
 systems in that regard...
 
 Joerg
 


Home | Main Index | Thread Index | Old Index