[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
sharutils-4.4 unshar not recognising files
From: |
Daniel |
Subject: |
sharutils-4.4 unshar not recognising files |
Date: |
Wed, 10 Aug 2005 23:50:55 +1000 |
User-agent: |
KMail/1.8.1 |
Some confusing bug associated with:
https://bugs.gentoo.org/show_bug.cgi?id=101904
Source file is:
ftp://ftp.cwi.nl/pub/dik/macutil2.0b3.shar.Z
(yes I know - its real old)
After you unzip this (just with gzip) an unshar of it generates some weird
results as follows:
$ ls -la
total 476
drwx------ 2 dan users 4096 Aug 10 23:35 .
drwxr-xr-x 6 dan users 4096 Aug 10 23:10 ..
-rw-r--r-- 1 dan users 472982 Aug 10 23:29 macutil2.0b3.shar
$ unshar --version
unshar (GNU sharutils) 4.4
Copyright (C) 1994, 1995, 1996, 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
$ unshar --help
Usage: unshar [OPTION]... [FILE]...
Mandatory arguments to long options are mandatory for short options too.
-d, --directory=DIRECTORY change to DIRECTORY before unpacking
-c, --overwrite pass -c to shar script for overwriting files
-e, --exit-0 same as `--split-at="exit 0"'
-E, --split-at=STRING split concatenated shars after STRING
-f, --force same as `-c'
--help display this help and exit
--version output version information and exit
If no FILE, standard input is read.
Report bugs to <address@hidden>.
$ unshar macutil2.0b3.shar
unshar: /var/tmp/portage/macutil-2.0_beta3/work/LINUX_PORTAGE_WRITABLE=yes: No
such file or directory
$ unshar -c macutil2.0b3.shar
unshar: /var/tmp/portage/macutil-2.0_beta3/work/AUTO_SYMLINK=no: No such file
or directory
$ unshar -f macutil2.0b3.shar
unshar: /var/tmp/portage/macutil-2.0_beta3/work/AUTO_SYMLINK=no: No such file
or directory
$ unshar -e macutil2.0b3.shar
unshar: /var/tmp/portage/macutil-2.0_beta3/work/AUTO_SYMLINK=no: No such file
or directory
$ env
...
LINUX_PORTAGE_WRITABLE=yes
AUTO_SYMLINK=no
...
Standard input does work however:
$ unshar < macutil2.0b3.shar
standard input:
shar: creating directory 'macutil'
shar: entering directory 'macutil'
shar: extracting 'README' (23244 characters)
shar: extracting 'makefile' (2143 characters)
shar: creating directory 'crc'
shar: entering directory 'crc'
an strace confirms this behaviour
getcwd("/var/tmp/portage/macutil-2.0_beta3/work", 128) = 40
open("/var/tmp/portage/macutil-2.0_beta3/work/LINUX_PORTAGE_WRITABLE=yes",
O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
--
Daniel Black <address@hidden>
Gentoo Crypto/PPC/dev-embedded/Forensics/NetMon
pgpimsfup2iL3.pgp
Description: PGP signature
- sharutils-4.4 unshar not recognising files,
Daniel <=