When I try to unpack 'sl-modem.tar.bz2' in /usr/src, I get: karlheg@journeyhawk:/usr/src % tar xjf sl-modem.tar.bz2 tar: modules: Cannot utime: Operation not permitted tar: Error exit delayed from previous errors Exit Status: [2] Looking at directory ownership and permissions, it looks to me like there should be no trouble at all with this: karlheg@journeyhawk:/usr/src % ls -la modules total 5 drwxrwsr-x 3 root src 72 Mar 25 16:00 ./ drwxrwsr-x 14 root src 3856 Mar 25 14:47 ../ drwxr-sr-x 6 karlheg src 144 Feb 29 12:02 sl-modem/ karlheg@journeyhawk:/usr/src % id karlheg uid=1000(karlheg) gid=1000(karlheg) groups=1000(karlheg),4(adm),20(dialout),21(fax),24(cdrom),29(audio),30(dip),40(src),44(video),50(staff),60(games),100(users),111(med) karlheg@journeyhawk:/usr/src % ls -la modules/sl-modem total 3 drwxr-sr-x 6 karlheg src 144 Feb 29 12:02 ./ drwxrwsr-x 3 root src 72 Mar 25 16:00 ../ drwxr-sr-x 2 karlheg src 288 Feb 29 12:02 debian/ drwxr-s--x 2 karlheg src 256 Feb 29 12:02 drivers/ drwxr-sr-x 2 karlheg src 264 Feb 29 12:02 modem/ drwxr-sr-x 2 karlheg src 120 Feb 29 12:02 patches/ After downgrading to 1.13.25-2, the problem no longer occurs.
tags 240170 moreinfo thanks Hello Karl, Thanks for your bug report. I'd love to look into this more, but I'll need some help. A couple of questions for you: 1. Is this problem still happening with current versions of tar in Debian? 2. Do you have a tar file you can share that exhibits this problem? Thanks,
This bug returned after upgrading to squeeze from lenny. The following happens while building OpenWRT: [...] make[3]: Entering directory `/home/mirq/gkamikaze_8.09.1/feeds/packages/net/quagga' IPKG_TMP=/home/mirq/gkamikaze_8.09.1/tmp/ipkg IPKG_INSTROOT=/home/mirq/tuw-owrt/kamikaze_8.09.1/build_dir/mipsel/root-brcm47xx IPKG_CONF_DIR=/home/mirq/tuw-owrt/kamikaze_8.09.1/staging_dir/mipsel/etc IPKG_OFFLINE_ROOT=/home/mirq/tuw-owrt/kamikaze_8.09.1/build_dir/mipsel/root-brcm47xx /home/mirq/tuw-owrt/kamikaze_8.09.1/scripts/ipkg -force-defaults -force-depends install /home/mirq/tuw-owrt/kamikaze_8.09.1/bin/packages/mipsel/quagga_0.98.6-1_mipsel.ipk Unpacking quagga...Done. Configuring quagga...tar: ./var: Cannot utime: Operation not permitted tar: Exiting with failure status due to previous errors make[3]: *** [/home/mirq/gkamikaze_8.09.1/build_dir/mipsel/root-brcm47xx/usr/lib/ipkg/info/quagga.list] Error 2 make[3]: Leaving directory `/home/mirq/gkamikaze_8.09.1/feeds/packages/net/quagga' make[2]: *** [package/feeds/packages/quagga/install] Error 2 make[2]: Leaving directory `/home/mirq/gkamikaze_8.09.1' make[1]: *** [/home/mirq/gkamikaze_8.09.1/staging_dir/mipsel/stamp/.package_install] Error 2 make[1]: Leaving directory `/home/mirq/gkamikaze_8.09.1' make: *** [world] Błąd 2 The build doesn't fail after upgrading tar to current wheezy's version (1.25-3) and reappears after downgrading it back to sqeeze's (1.23-3). Broken: mirq@groch:~$ dpkg -s tar Package: tar Essential: yes Status: install ok installed Priority: required Section: utils Installed-Size: 2108 Maintainer: Bdale Garbee <bdale@gag.com> Architecture: amd64 Version: 1.23-3 Replaces: cpio (<< 2.4.2-39) Pre-Depends: libc6 (>= 2.6) Suggests: bzip2, ncompress, xz-utils Conflicts: cpio (<= 2.4.2-38) Conffiles: /etc/rmt 3c58b7cd13da1085eff0acc6a00f43c7 Description: [...] Working: mirq@groch:~$ dpkg -s tar Package: tar Essential: yes Status: install ok installed Priority: required Section: utils Installed-Size: 2660 Maintainer: Bdale Garbee <bdale@gag.com> Architecture: amd64 Version: 1.25-3 Replaces: cpio (<< 2.4.2-39) Pre-Depends: libc6 (>= 2.6) Suggests: bzip2, ncompress, xz-utils Breaks: dpkg-dev (<< 1.14.26) Conflicts: cpio (<= 2.4.2-38) Conffiles: /etc/rmt 3c58b7cd13da1085eff0acc6a00f43c7 Description: [...] Best Regards, Michał Mirosław
Sorry to hear that. Thanks for confirming that. Since the version currently in sid and wheezy works, I suggest just using that version for now. Bdale