home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / gnu / utils / bug / 2459 < prev    next >
Encoding:
Internet Message Format  |  1993-01-25  |  2.1 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!cis.ohio-state.edu!scp.caltech.edu!andy
  2. From: andy@scp.caltech.edu (Andy Fyfe)
  3. Newsgroups: gnu.utils.bug
  4. Subject: tar 1.11.1
  5. Date: 25 Jan 1993 20:47:23 -0500
  6. Organization: GNUs Not Usenet
  7. Lines: 63
  8. Sender: daemon@cis.ohio-state.edu
  9. Approved: bug-gnu-utils@prep.ai.mit.edu
  10. Distribution: gnu
  11. Message-ID: <9301250142.AA00863@kodiak.cs.caltech.edu>
  12.  
  13. I built tar version 1.11.1 on an AT&T 3b1 (more or less System V, release 2).
  14. It compiled without incident, and I've actually used it quite a bit.  I
  15. recently used tar to duplicate a (small) file system, and I found that
  16. tar had not correctly set the owner of directories (but did for files).
  17. Enclosed is a typescript, which demonstrates the problem.  If you need more
  18. information, I'll be happy to provide it.
  19.  
  20. Andy Fyfe                    andy@cs.caltech.edu
  21.  
  22. marmot !1 $ su
  23. Password:
  24. marmot !1 # ls -lR /usr/tmp/test
  25. total 3
  26. drwxr-xr-x   2 bin      bin            48 Jan 24 17:13 bin
  27. drwxr-xr-x   2 root     root           48 Jan 24 17:13 root
  28. drwxr-xr-x   2 uucp     sys            48 Jan 24 17:13 uucp
  29.  
  30. /usr/tmp/test/bin:
  31. total 0
  32. -rw-r--r--   1 bin      bin             0 Jan 24 17:13 file
  33.  
  34. /usr/tmp/test/root:
  35. total 0
  36. -rw-r--r--   1 root     root            0 Jan 24 17:13 file
  37.  
  38. /usr/tmp/test/uucp:
  39. total 0
  40. -rw-r--r--   1 uucp     sys             0 Jan 24 17:13 file
  41. marmot !2 # rm -rf /tmp/test
  42. marmot !3 # ./tar --version
  43. GNU tar version 1.11.1
  44. marmot !4 # ./tar -C /usr/tmp -c -f - test | ./tar -C /tmp -x -v -p -f - --same-owner
  45. test/
  46. Reading test
  47. test/bin/
  48. Reading test/bin
  49. test/bin/file
  50. test/uucp/
  51. Reading test/uucp
  52. test/uucp/file
  53. test/root/
  54. Reading test/root
  55. test/root/file
  56. marmot !5 # ls -lR /tmp/test
  57. total 3
  58. drwxr-xr-x   2 root     root           48 Jan 24 17:13 bin
  59. drwxr-xr-x   2 root     root           48 Jan 24 17:13 root
  60. drwxr-xr-x   2 root     root           48 Jan 24 17:13 uucp
  61.  
  62. /tmp/test/bin:
  63. total 0
  64. -rw-r--r--   1 bin      bin             0 Jan 24 17:13 file
  65.  
  66. /tmp/test/root:
  67. total 0
  68. -rw-r--r--   1 root     root            0 Jan 24 17:13 file
  69.  
  70. /tmp/test/uucp:
  71. total 0
  72. -rw-r--r--   1 uucp     sys             0 Jan 24 17:13 file
  73. marmot !6 # exit
  74. marmot !2 $ exit
  75.  
  76.