[Bug 146225] Re: bunzip2 cannot extract files
Phillip Susi
psusi at ubuntu.com
Sun May 12 21:19:19 UTC 2013
Wait, I got it.. I see now, you have to mount the fs with the files
owned by root, then try to unzip it NOT as root.
** Summary changed:
- bunzip2 cannot extract files
+ bunzip2 refuses to extract a file if it can't set the mode
** Package changed: ntfs-3g (Ubuntu) => bzip2 (Ubuntu)
** Changed in: bzip2 (Ubuntu)
Importance: Undecided => Low
** Changed in: bzip2 (Ubuntu)
Status: Incomplete => Triaged
** Description changed:
- Binary package hint: ntfs-3g
+ If bunzip2 fails to chmod the extracted file, it bails out and deletes
+ it. It should not do this.
- this is gutsy, ntfs-3g version 1:1.710-1ubuntu4
+ To reproduce, mount an ntfs filesystem with the uid=0 option so files
+ are owned by root, then try to bunzip2 a file as non root. Since the
+ file is owned by root, the chmod fails. This should not be a fatal
+ error.
+
+ Original Description:
If I try to decompress any bz2 files I get this error
bunzip2: I/O or other error, bailing out. Possible reason follows.
bunzip2: Operation not permitted
- Input file = odf-converter_1.0.0-1~getdeb1_i386.deb.bz2, output file = odf-converter_1.0.0-1~getdeb1_i386.deb
+ Input file = odf-converter_1.0.0-1~getdeb1_i386.deb.bz2, output file = odf-converter_1.0.0-1~getdeb1_i386.deb
bunzip2: Deleting output file odf-converter_1.0.0-1~getdeb1_i386.deb, if it exists.
with gunzip I get 2 these errors
gzip: odf-converter_1.0.0-1~getdeb1_i386.deb: Operation not permitted
gzip: odf-converter_1.0.0-1~getdeb1_i386.deb: Operation not permitted
but at least the file is created
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ntfs-3g in Ubuntu.
https://bugs.launchpad.net/bugs/146225
Title:
bunzip2 refuses to extract a file if it can't set the mode
Status in “bzip2” package in Ubuntu:
Triaged
Bug description:
If bunzip2 fails to chmod the extracted file, it bails out and deletes
it. It should not do this.
To reproduce, mount an ntfs filesystem with the uid=0 option so files
are owned by root, then try to bunzip2 a file as non root. Since the
file is owned by root, the chmod fails. This should not be a fatal
error.
Original Description:
If I try to decompress any bz2 files I get this error
bunzip2: I/O or other error, bailing out. Possible reason follows.
bunzip2: Operation not permitted
Input file = odf-converter_1.0.0-1~getdeb1_i386.deb.bz2, output file = odf-converter_1.0.0-1~getdeb1_i386.deb
bunzip2: Deleting output file odf-converter_1.0.0-1~getdeb1_i386.deb, if it exists.
with gunzip I get 2 these errors
gzip: odf-converter_1.0.0-1~getdeb1_i386.deb: Operation not permitted
gzip: odf-converter_1.0.0-1~getdeb1_i386.deb: Operation not permitted
but at least the file is created
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bzip2/+bug/146225/+subscriptions
More information about the foundations-bugs
mailing list