From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike McCarty Subject: Re: Creating directories with pkunzip, rar, et. al. Date: Mon, 07 May 2007 20:56:33 -0500 Message-ID: <463FD8D1.20106@sbcglobal.net> References: <4511c4ff0705070917l6ebd1c5bve74706542d57f6d4@mail.gmail.com> <4511c4ff0705071137s6b4ea5eat77a4bba8978a031e@mail.gmail.com> <4511c4ff0705071512qc63ee80t2f705479587bf3a8@mail.gmail.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Sender: linux-msdos-owner@vger.kernel.org List-Id: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: linux-msdos@vger.kernel.org Bart Oldeman wrote: > On 5/7/07, Joe Ripley wrote: > >> On 5/7/07, Joe Ripley wrote: >> Actually, I had some time to do some testing, and I found that it's >> not that pkunzip is attempting to set the archive attribute. When run >> with the debug messages turned on, pkunzip tries to create the >> directory with an attribute of 0x10 (i.e. a regular file) rather than >> 0x20 (a directory). > > > No, first of all creating a directory does not involve any attributes, > and secondly > 0x10=directory, and 0x20=archive. > [and gives a source patch fix] Ok, this explains a problem I found with the Dunfield installer being unable to install under DOSEMU. In order to work around, I booted a computer which actually does run MSDOS, and ran there, then zipped up the resulting directories, put the ZIP file on a floppy, and used unzip with Linux to do the transfer. How soon will this be folded into the standard release? Mike -- p="p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);} Oppose globalization and One World Governments like the UN. This message made from 100% recycled bits. You have found the bank of Larn. I can explain it for you, but I can't understand it for you. I speak only for myself, and I am unanimous in that!