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

-
To unsubscribe from this list: send the line "unsubscribe linux-msdos" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to