Linux MS DOS discussions
 help / color / mirror / Atom feed
From: "Anthony M. Richardson" <richardson@evansville.edu>
To: Bart Oldeman <Bart.Oldeman@bristol.ac.uk>
Cc: linux-msdos@vger.kernel.org
Subject: Re: Strange unzip problems
Date: Tue, 4 Jun 2002 08:20:34 -0500	[thread overview]
Message-ID: <200206040820.34130.richardson@evansville.edu> (raw)
In-Reply-To: <Pine.GSO.4.05.10206041029250.5031-100000@sh.enm.bris.ac.uk>

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


  reply	other threads:[~2002-06-04 13:20 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-30 19:44 Strange unzip problems Anthony M. Richardson
2002-06-04  9:36 ` Bart Oldeman
2002-06-04 13:20   ` Anthony M. Richardson [this message]
2002-06-04 11:07 ` Witold Filipczyk
2002-06-04 12:44   ` Bart Oldeman
2002-06-04 15:59     ` Witold Filipczyk
2002-06-06 14:12     ` Anthony M. Richardson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200206040820.34130.richardson@evansville.edu \
    --to=richardson@evansville.edu \
    --cc=Bart.Oldeman@bristol.ac.uk \
    --cc=linux-msdos@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox