Public bug reported:

I have been getting several problems with when extracting files from archives 
or copying files from CD's.
The only common feature I can find is that the errors seem to happen when 
folders are being created or modified recursively.

Platform: Ubuntu 7.10 (though I have also seen this on 6.10) AMD64
Partition type: ext3
Drive: SAMSUNG HD300LD
coreutils version: 5.97-5.3ubuntu3

For example:

download 20070725084555687_UnifiedLinuxDriver.tar.gz
 into /home/john/temp2
 from 
http://www.samsung.com/uk/support/download/supportDownDetail.do?group=&type=&subtype=&model_nm=SCX-4100&disp_nm=SCX-4100&mType=DR&dType=D&vType=L&cttID=214860&prd_ia_cd=

If I extract specific files from the archive the ownership & permissions
are usable:

[EMAIL PROTECTED]:~$ cd /home/john/temp2
[EMAIL PROTECTED]:~/temp2$ tar --wildcards --mode +rw -x -z -o -f 
20070725084555687_UnifiedLinuxDriver.tar.gz *.ppd
[EMAIL PROTECTED]:~/temp2$ ls -l 
/home/john/temp2/cdroot/Linux/noarch/at_opt/share/ppd
total 1668
-r--r--r-- 1 john john  61959 2007-06-07 12:26 CLP-200splc.ppd
... 
-r--r--r-- 1 john john   8857 2007-04-20 08:53 sf531p.ppd

However if I extract all of the files from the archive the owner &
permissions of some of them are not usable and ls reports the number of
files in the folder as zero:

[EMAIL PROTECTED]:~/temp2$ sudo rm -r /home/john/temp2/cdroot
[EMAIL PROTECTED]:~/temp2$ tar --wildcards --mode +rw -x -z -o -f 
20070725084555687_UnifiedLinuxDriver.tar.gz
[EMAIL PROTECTED]:~/temp2$ ls -l 
/home/john/temp2/cdroot/Linux/noarch/at_opt/share/ppd
total 0
?--------- ? ? ? ?                ? 
/home/john/temp2/cdroot/Linux/noarch/at_opt/share/ppd/CLP-200splc.ppd
...
?--------- ? ? ? ?                ? 
/home/john/temp2/cdroot/Linux/noarch/at_opt/share/ppd/sf531p.ppd

chown & chmod afterwards do not fix this, even with sudo.

I have had similar problems with cp from cdroms, and with a recursive
chmod after a cp that appeared to work.

This may be related to Bugs #130299 & #128214.

** Affects: ubuntu
     Importance: Undecided
         Status: New

-- 
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 the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to