From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078608810314.tru64-unix-managers.marc@archive.invalid> From: don () andromeda ! campbellsvil ! edu (Don H ! Olive) Date: Fri, 14 Feb 1997 20:39:26 +0000 To: tru64-unix-managers Subject: moving file system X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078608810314 @@ I've got a strange problem. I'm trying to move all the user files from /usr/users to a new larger hard drive. I have mounted the new file system and would like to copy all files from the old partition to the new. I'm using commands like: cd /usr/users tar cf users.tar . cd /usr/newdisk tar xf /usr/users/users.tar The problem is when the files are extracted all the subdirectories are owned by root. Not only the directories in the /usr/newdisk but every directory on down lower. Shouldn't tar maintain the ownership of all the files? The files come back with the original ownership and permissions but the directories are all owned by root. Ideas? -- Don H. Olive, Physics Department don@campbellsvil.edu Campbellsville University http://www2.campbellsvil.edu/~don CPO 1265, One University Drive +1.502.789.5243 voice/+1.502.789.5170 fax Campbellsville KY, 42718 USA PGP: finger don@cygnus.campbellsvil.edu