Article View: gnu.utils.bug
Article #1322tar 1.11.1
From: Andy Fyfe
Date: Tue, 26 Jan 1993 01:47
Date: Tue, 26 Jan 1993 01:47
62 lines
2268 bytes
2268 bytes
I built tar version 1.11.1 on an AT&T 3b1 (more or less System V, release 2). It compiled without incident, and I've actually used it quite a bit. I recently used tar to duplicate a (small) file system, and I found that tar had not correctly set the owner of directories (but did for files). Enclosed is a typescript, which demonstrates the problem. If you need more information, I'll be happy to provide it. Andy Fyfe andy@cs.caltech.edu marmot !1 $ su Password: marmot !1 # ls -lR /usr/tmp/test total 3 drwxr-xr-x 2 bin bin 48 Jan 24 17:13 bin drwxr-xr-x 2 root root 48 Jan 24 17:13 root drwxr-xr-x 2 uucp sys 48 Jan 24 17:13 uucp /usr/tmp/test/bin: total 0 -rw-r--r-- 1 bin bin 0 Jan 24 17:13 file /usr/tmp/test/root: total 0 -rw-r--r-- 1 root root 0 Jan 24 17:13 file /usr/tmp/test/uucp: total 0 -rw-r--r-- 1 uucp sys 0 Jan 24 17:13 file marmot !2 # rm -rf /tmp/test marmot !3 # ./tar --version GNU tar version 1.11.1 marmot !4 # ./tar -C /usr/tmp -c -f - test | ./tar -C /tmp -x -v -p -f - --same-owner test/ Reading test test/bin/ Reading test/bin test/bin/file test/uucp/ Reading test/uucp test/uucp/file test/root/ Reading test/root test/root/file marmot !5 # ls -lR /tmp/test total 3 drwxr-xr-x 2 root root 48 Jan 24 17:13 bin drwxr-xr-x 2 root root 48 Jan 24 17:13 root drwxr-xr-x 2 root root 48 Jan 24 17:13 uucp /tmp/test/bin: total 0 -rw-r--r-- 1 bin bin 0 Jan 24 17:13 file /tmp/test/root: total 0 -rw-r--r-- 1 root root 0 Jan 24 17:13 file /tmp/test/uucp: total 0 -rw-r--r-- 1 uucp sys 0 Jan 24 17:13 file marmot !6 # exit marmot !2 $ exit
Technical Details
Message-ID:
<9301250142.AA00863@kodiak.cs.caltech.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!cis.ohio-state.edu!scp.caltech.edu!andyShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!cis.ohio-state.edu!scp.caltech.edu!andy From: andy@scp.caltech.edu (Andy Fyfe) Newsgroups: gnu.utils.bug Subject: tar 1.11.1 Date: 25 Jan 1993 20:47:23 -0500 Organization: GNUs Not Usenet Lines: 63 Sender: daemon@cis.ohio-state.edu Approved: bug-gnu-utils@prep.ai.mit.edu Distribution: gnu Message-ID: <9301250142.AA00863@kodiak.cs.caltech.edu>