From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Anthony M. Richardson" Subject: Re: Strange unzip problems Date: Tue, 4 Jun 2002 08:20:34 -0500 Sender: linux-msdos-owner@vger.kernel.org Message-ID: <200206040820.34130.richardson@evansville.edu> References: Reply-To: richardson@evansville.edu Mime-Version: 1.0 Content-Transfer-Encoding: 7BIT Return-path: In-Reply-To: List-Id: Content-Type: text/plain; charset="us-ascii" To: Bart Oldeman Cc: linux-msdos@vger.kernel.org On Tuesday 04 June 2002 04:36 am, Bart Oldeman wrote: > On Thu, 30 May 2002, Anthony M. Richardson wrote: > > I'm using dosemu under Linux with FreeDOS beta 8. I'm also using a Linux > > directory as my C drive. Everything seemed to be working great until I > > tried to install DJGPP. When I use unzip from within dosemu on a > > recursive zip archive, there are several errors. When unzip is > > extracting files from an archive and creating directories (from within > > DOSEMU), the directories are created without execute permission (in the > > linux file system). The unzip program then can't extract files to these > > directories. > > Ah, that narrows it down from your post on comp.os.msdos.djgpp :) > > I suspect that unzip does something like this: > > mkdir dir > attrib +a dir -- this removes the (user) x bit from dir > > You'll need to either hack unzip or hack DOSEMU src/dosext/mfs/mfs.c to > avoid this. I'm away and cannot make a patch easily, but anyway, it is > impossible to avoid it using dosemu.conf adjustments. > > Bart Thanks for the information. I think you are right about what is happening. Shouldn't DOSEMU handle directories differently than regular files in this case? For what its worth, I have to use "attrib +s +a dir" and not just "attrib +a dir" (from the command line) to remove the x bit from the directory. Tony