[svlug] Could someone test UNZIP for me?
Mark S Bilk
mark at cosmicpenguin.com
Mon Jan 21 19:59:02 PST 2002
In-Reply-To: <1011633720.1039.126.camel at theo.theotiwii.org>;
from theotiwii at earthlink.net on Mon, Jan 21, 2002 at 09:21:51AM -0800
On Mon, Jan 21, 2002 at 09:21:51AM -0800, Ron wrote:
>"Whoever zipped them did so including the path /foo/WHATEVER
>trying to unzip them on linux won't work because you (as in, your user
>account) don't have permission to write /foo/WHATEVER into the root
>directory."
>
>This could be a lead, but I also attempted to _UNZIP_ them as root,
>wouldn't that negate that argument?
The problem does seem to be that the path starts at root.
You can use the "-d <dir>" option to unzip the files to
a tree rooted at directory "dir". I was able to unzip
them successfully to the pre-existing directory "junk"
in the current directory ("gunk").
You can also use the -j option to unzip the files into the
current directory, ignoring their paths.
One weird thing I found is that with this zip file and another I
made myself, if I looked at it with "less" (/usr/bin/less) it showed
me a perfect _listing_ of the files, not a binary mess. This is
not mentioned in the man page for "less".
msb at isis:~/gunk > unzip -d junk foo.zip
Archive: foo.zip
inflating: junk//foo/webapps/expresso/foo/status.inc
inflating: junk//foo/webapps/expresso/foo/errorrow.inc
inflating: junk//foo/webapps/expresso/foo/style/filesystem.attributes
inflating: junk//foo/webapps/expresso/foo/style/default.css
inflating: junk//foo/webapps/expresso/foo/style/.nbattrs
inflating: junk//foo/webapps/expresso/foo/style/waw.css
inflating: junk//foo/webapps/expresso/foo/standard.inc
inflating: junk//foo/webapps/expresso/foo/index.jsp
inflating: junk//foo/webapps/expresso/foo/leftnav.jsp
inflating: junk//foo/webapps/expresso/foo/welcome.jsp
inflating: junk//foo/webapps/expresso/foo/success.jsp
inflating: junk//foo/webapps/expresso/foo/docs/designschematic.html
inflating: junk//foo/webapps/expresso/foo/docs/instructions.html
inflating: junk//foo/webapps/expresso/foo/docs/install.html
inflating: junk//foo/webapps/expresso/foo/docs/expandedschema.txt
inflating: junk//foo/webapps/expresso/install_instructions/fooinstallation.txt
inflating: junk//foo/webapps/expresso/foo/dbmaint/index.jsp
inflating: junk//foo/webapps/expresso/web-inf/classes/com/webappwriter/foo/fooschema.java
inflating: junk//foo/webapps/expresso/web-inf/config/foo-config.xml
inflating: junk//foo/webapps/expresso/foo/reginfo/create.jsp
inflating: junk//foo/webapps/expresso/foo/reginfo/success.jsp
inflating: junk//foo/webapps/expresso/foo/reginfo/update.jsp
inflating: junk//foo/webapps/expresso/foo/foo/index.jsp
inflating: junk//foo/webapps/expresso/foo/foo/create.jsp
inflating: junk//foo/webapps/expresso/foo/foo/success.jsp
inflating: junk//foo/webapps/expresso/foo/foo/update.jsp
inflating: junk//foo/webapps/expresso/foo/foo/browse.jsp
inflating: junk//foo/webapps/expresso/foo/foo/browsetab.jsp
inflating: junk//foo/webapps/expresso/foo/foo/maint/search.jsp
inflating: junk//foo/webapps/expresso/foo/foo/maint/create.jsp
inflating: junk//foo/webapps/expresso/foo/foo/maint/confirm.jsp
inflating: junk//foo/webapps/expresso/foo/foo/maint/update.jsp
inflating: junk//foo/webapps/expresso/foo/foo/maint/browse.jsp
inflating: junk//foo/webapps/expresso/web-inf/classes/com/webappwriter/foo/dbobj/foo.java
inflating: junk//foo/webapps/expresso/web-inf/classes/com/webappwriter/foo/controller/foocntrl.java
inflating: junk//foo/webapps/expresso/web-inf/classes/com/webappwriter/foo/controller/foomaint.java
msb at isis:~/gunk >
More information about the svlug
mailing list