Thank you for opening this bug and helping make Ubuntu better.
I downloaded & had a look at the tar file. First of all, your option to
set '-o' was a sane one, but it did not matter -- this is the default
for non-root users of tar.
Second, the error you are getting comes from the way the original files &
directories were created:
[EMAIL PROTECTED]: ~/tmp/cdroot $ pwd
/home/hggdh/tmp/cdroot
[EMAIL PROTECTED]:~/tmp/cdroot $ find . -type d -ls
1884962 4 drwxr-xr-x 3 hggdh hggdh 4096 Feb 7 2007 .
1884964 4 drwxr-xr-x 5 hggdh hggdh 4096 Feb 7 2007 ./Linux
2277525 4 drwxr-xr-x 4 hggdh hggdh 4096 Feb 7 2007
./Linux/noarch
2277534 4 drwxr-xr-x 4 hggdh hggdh 4096 Feb 7 2007
./Linux/noarch/at_opt
2277535 4 drwxr-xr-x 5 hggdh hggdh 4096 Feb 7 2007
./Linux/noarch/at_opt/share
2277613 4 drw-r--r-- 3 hggdh hggdh 4096 Jun 24 2007
./Linux/noarch/at_opt/share/ppd
find: `./Linux/noarch/at_opt/share/ppd': Permission denied
2277732 4 drwxr-xr-x 2 hggdh hggdh 4096 Feb 13 2007
./Linux/noarch/at_opt/share/images
2277536 4 drwxr-xr-x 2 hggdh hggdh 4096 Mar 21 2007
./Linux/noarch/at_opt/share/help
2277745 4 drwxr-xr-x 2 hggdh hggdh 4096 Mar 21 2007
./Linux/noarch/at_opt/uninstall
2277526 4 drwxr-xr-x 3 hggdh hggdh 4096 Sep 12 2006
./Linux/noarch/at_root
2277527 4 drwxr-xr-x 3 hggdh hggdh 4096 Sep 12 2006
./Linux/noarch/at_root/etc
2277528 4 drwxr-xr-x 2 hggdh hggdh 4096 Sep 12 2006
./Linux/noarch/at_root/etc/sane.d
1884969 4 drwxr-xr-x 7 hggdh hggdh 4096 Feb 7 2007 ./Linux/i386
1884993 4 drwxr-xr-x 6 hggdh hggdh 4096 Mar 21 2007
./Linux/i386/at_opt
1885019 4 drwxr-xr-x 2 hggdh hggdh 4096 Mar 21 2007
./Linux/i386/at_opt/lib
1885000 4 drwxr-xr-x 2 hggdh hggdh 4096 Mar 21 2007
./Linux/i386/at_opt/bin
1884994 4 drwxr-xr-x 2 hggdh hggdh 4096 Mar 21 2007
./Linux/i386/at_opt/share
1884996 4 drwxr-xr-x 2 hggdh hggdh 4096 Mar 21 2007
./Linux/i386/at_opt/uninstall
1885023 4 drwxr-xr-x 2 hggdh hggdh 4096 Mar 21 2007
./Linux/i386/install
1884970 4 drwxr-xr-x 3 hggdh hggdh 4096 Feb 7 2007
./Linux/i386/at_root
1884971 4 drwxr-xr-x 3 hggdh hggdh 4096 Feb 7 2007
./Linux/i386/at_root/usr
1884972 4 drwxr-xr-x 4 hggdh hggdh 4096 Feb 7 2007
./Linux/i386/at_root/usr/lib
1884973 4 drwxr-xr-x 4 hggdh hggdh 4096 Feb 13 2007
./Linux/i386/at_root/usr/lib/cups
1884974 4 drwxr-xr-x 2 hggdh hggdh 4096 Mar 21 2007
./Linux/i386/at_root/usr/lib/cups/backend
1884978 4 drwxr-xr-x 2 hggdh hggdh 4096 Feb 13 2007
./Linux/i386/at_root/usr/lib/cups/filter
1884983 4 drwxr-xr-x 2 hggdh hggdh 4096 Feb 7 2007
./Linux/i386/at_root/usr/lib/sane
1884991 4 drwxr-xr-x 2 hggdh hggdh 4096 Mar 21 2007
./Linux/i386/lib
1884986 4 drwxr-xr-x 3 hggdh hggdh 4096 Feb 13 2007
./Linux/i386/share
1884988 4 drwxr-xr-x 2 hggdh hggdh 4096 Feb 13 2007
./Linux/i386/share/images
1885033 4 drwxr-xr-x 7 hggdh hggdh 4096 Feb 7 2007
./Linux/x86_64
1885053 4 drwxr-xr-x 6 hggdh hggdh 4096 Mar 21 2007
./Linux/x86_64/at_opt
2261076 4 drwxr-xr-x 2 hggdh hggdh 4096 Mar 21 2007
./Linux/x86_64/at_opt/lib
1885060 4 drwxr-xr-x 2 hggdh hggdh 4096 Mar 21 2007
./Linux/x86_64/at_opt/bin
1885054 4 drwxr-xr-x 2 hggdh hggdh 4096 Mar 21 2007
./Linux/x86_64/at_opt/share
1885056 4 drwxr-xr-x 2 hggdh hggdh 4096 Mar 21 2007
./Linux/x86_64/at_opt/uninstall
2261080 4 drwxr-xr-x 2 hggdh hggdh 4096 Mar 21 2007
./Linux/x86_64/install
1885034 4 drwxr-xr-x 3 hggdh hggdh 4096 Feb 7 2007
./Linux/x86_64/at_root
1885035 4 drwxr-xr-x 3 hggdh hggdh 4096 Feb 7 2007
./Linux/x86_64/at_root/usr
1885036 4 drwxr-xr-x 4 hggdh hggdh 4096 Feb 7 2007
./Linux/x86_64/at_root/usr/lib64
1885037 4 drwxr-xr-x 4 hggdh hggdh 4096 Feb 13 2007
./Linux/x86_64/at_root/usr/lib64/cups
1885038 4 drwxr-xr-x 2 hggdh hggdh 4096 Mar 21 2007
./Linux/x86_64/at_root/usr/lib64/cups/backend
1885040 4 drwxr-xr-x 2 hggdh hggdh 4096 Feb 13 2007
./Linux/x86_64/at_root/usr/lib64/cups/filter
1885045 4 drwxr-xr-x 2 hggdh hggdh 4096 Feb 7 2007
./Linux/x86_64/at_root/usr/lib64/sane
1885048 4 drwxr-xr-x 3 hggdh hggdh 4096 Mar 21 2007
./Linux/x86_64/share
1885050 4 drwxr-xr-x 2 hggdh hggdh 4096 Mar 21 2007
./Linux/x86_64/share/images
2277523 4 drwxr-xr-x 2 hggdh hggdh 4096 Mar 21 2007
./Linux/x86_64/lib64
[EMAIL PROTECTED]:~/tmp/cdroot $
Notice the error when trying to 'ls -l' the ./ppd directory:
2277613 4 drw-r--r-- 3 hggdh hggdh 4096 Jun 24 2007
./Linux/noarch/at_opt/share/ppd
find: `./Linux/noarch/at_opt/share/ppd': Permission denied
This is expected behaviour: this directory was created *without* the
eXecute bit on the owner's permissions -- so it is *NOT* browseable. If
you know what you want, you can still get it, but you *cannot* list the
directory.
So...
[EMAIL PROTECTED]:~/tmp/cdroot $ cd Linux/noarch/at_opt/share/
[EMAIL PROTECTED]:~/tmp/cdroot/Linux/noarch/at_opt/share $ chmod u+x ppd
[EMAIL PROTECTED]:~/tmp/cdroot/Linux/noarch/at_opt/share $ ls -l ppd
total 1672
-r--r--r-- 1 hggdh hggdh 61959 2007-06-07 06:26 CLP-200splc.ppd
-r--r--r-- 1 hggdh hggdh 12532 2007-04-20 02:51 CLP-300splc.ppd
-r--r--r-- 1 hggdh hggdh 69096 2007-06-24 20:51 CLP-350ps.ppd
-r--r--r-- 1 hggdh hggdh 11467 2007-04-20 02:51 CLP-500splc.ppd
-r--r--r-- 1 hggdh hggdh 13916 2007-04-20 02:51 CLP-510splc.ppd
-r--r--r-- 1 hggdh hggdh 20263 2007-04-20 02:51 CLP-550ps.ppd
-r--r--r-- 1 hggdh hggdh 12610 2007-04-20 02:51 CLP-600splc.ppd
-r--r--r-- 1 hggdh hggdh 60674 2007-05-14 16:04 CLP-610splc.ppd
-r--r--r-- 1 hggdh hggdh 20620 2007-04-20 02:51 CLP-650ps.ppd
-r--r--r-- 1 hggdh hggdh 65870 2007-05-14 14:26 CLP-660ps.ppd
-r--r--r-- 1 hggdh hggdh 12208 2007-04-20 02:51 CLX-216xsplc.ppd
-r--r--r-- 1 hggdh hggdh 61964 2007-06-07 06:26 CLX-2170splc.ppd
-r--r--r-- 1 hggdh hggdh 12594 2007-04-20 02:52 CLX-3160splc.ppd
-r--r--r-- 1 hggdh hggdh 73780 2007-05-14 18:25 CLX-6200ps.ppd
-r--r--r-- 1 hggdh hggdh 73780 2007-05-14 18:26 CLX-6240ps.ppd
-rw-r--r-- 1 hggdh hggdh 122833 2007-06-24 20:54 CLX-8380ps.ppd
drw-r--r-- 2 hggdh hggdh 4096 2007-06-24 19:43 cms
-r--r--r-- 1 hggdh hggdh 10059 2007-04-20 02:52 mfp560.ppd
-r--r--r-- 1 hggdh hggdh 10112 2007-04-20 02:52 mfp750.ppd
(...)
It now works. Of course, we now find *another* directory also without
eXecute for the owner... but another 'chmod o+x' will resolve it. And so
on, and so on.
This is not a bug in coreutils: 'tar' is not a coreutils component; this
is also not a bug on tar -- tar is working as expected. This is a bug,
at most, on the setup of the original file structure used to create the
tarball. I cannot understand why they would setup this structure, but
perhaps they had a reason.
Please discuss this with Samsung -- they created the tarball.
** Changed in: coreutils (Ubuntu)
Status: Incomplete => Invalid
--
corrupt file ownership & permissions on recursive coreutils
https://bugs.launchpad.net/bugs/188403
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs