From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <98165527623440.tru64-unix-managers.marc@archive.invalid> From: Darryl Cook Date: Thu, 08 Feb 2001 17:54:16 +0000 To: tru64-unix-managers Subject: SUMMARY: Problem with root permissions X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=98165527623440 Ok looks like I need to use the -o option to set the ownership to the user that untars the file. Looks as if tar is supposed to retain ownership especially for using tar to backup files etc. I guess I have always untarred files from sources that were originally tarred as root instead of a normal user. Darryl Cook wrote: > I have an unusual problem with the root id. Whenever I untar a package > as root it picks an arbitrary user on our machine and makes them the > owner of files that are untarred. This owner permiates all the way down > through the directories as well. If I untar the same package as a > normal user the problem isnt there, it is only with the root login. > This could be very serious security problem if it goes unnoticed. The > fact that it happens only with the root login makes me think its a > problem with the root login instead of tar but Im really not sure. I > have tried untarring with tar -xvf and -xvpf. Anyone else seen this? > > We are running DU4.0f on a Alpha 2100A. > > thanks! > > darryl