Linux MS DOS discussions
 help / color / mirror / Atom feed
From: "Anthony M. Richardson" <richardson@evansville.edu>
To: Bart Oldeman <Bart.Oldeman@bristol.ac.uk>,
	Witold Filipczyk <witekfl@poczta.onet.pl>
Cc: linux-msdos@vger.kernel.org
Subject: Re: Strange unzip problems
Date: Thu, 6 Jun 2002 09:12:15 -0500	[thread overview]
Message-ID: <200206060912.15720.richardson@evansville.edu> (raw)
In-Reply-To: <Pine.GSO.4.05.10206041341440.5921-100000@sh.enm.bris.ac.uk>

On Tuesday 04 June 2002 07:44 am, Bart Oldeman wrote:
> On Tue, 4 Jun 2002, Witold Filipczyk wrote:
> > C:\> zip -r freedos.zip freedos
> > C:\> unzip -d temp freedos.zip
> > works
> >
> > dosemu started from root account,
> > Freedos Beta 7 Ripcord
> > dosemu-1.0.2.1
>
> on a FAT partition? That makes a difference because you cannot turn off
> directory x bits on (Linux mounted and lredir'ed) FAT partitions.
>
> If C:\ corresponds to an ext2 instead of a FAT partition then things
> are different of course.

The example above will not work for me on ext2.  (Actually I'm using ext3, 
would that make a difference?) In the example above the temp directory would 
be created (with execute permission).  The freedos directory would be created 
also, but without execute permission so no files could be extracted to it.

I've found that I can extract some zip archives (that have subdirectories), 
but not others.  I played around with zip a bit and found that I can unzip 
files that are created with -R, but not with -r.  Unfortunately the archives 
I'm trying to extract were apparently created with -r.  I'm using the 
info-zip unzip that comes with freedos.  (djgpp provides one too, but I think 
it is the info-zip one - it doesn't work either.)

I've found that I can get around the problem by creating an MSDOS partition 
image and using the loopback device to mount the image under my linux 
filesystem and using the mount point as my cdrive.  Not nearly as nice as 
just keeping everything under my ext3 filesystem but workable.

I think there is a problem with mapping of dos attribs to ext3 perms in 
dosemu.  Why should "attrib +s +h dir" make a directroy inaccessible?
It doesn't make it inaccessible under MSDOS on real hardware does it?

Thanks,
Tony




      parent reply	other threads:[~2002-06-06 14:12 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
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 [this message]

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=200206060912.15720.richardson@evansville.edu \
    --to=richardson@evansville.edu \
    --cc=Bart.Oldeman@bristol.ac.uk \
    --cc=linux-msdos@vger.kernel.org \
    --cc=witekfl@poczta.onet.pl \
    /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