bunzip2 refuses to extract a file if it can't set the mode
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bzip2 (Ubuntu) |
Triaged
|
Low
|
Unassigned |
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_
bunzip2: Deleting output file odf-converter_
with gunzip I get 2 these errors
gzip: odf-converter_
gzip: odf-converter_
but at least the file is created
bunzip2 is definitely able to unpack files, people do it all the time.
Your problem is unique and it's quite probably a configuration or
usage one.
Do you have the same problem as root too?
If not then the message is correct, you don't have the permission
to do what you want in that directory.
If yes then please send the output of
grep -i ntfs /var/log/daemon.log
and make sure you use the latest stable ntfs-3g 1.913.
Thank you,
Szaka
-- ntfs-3g. org
NTFS-3G Lead Developer: http://