tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Darryl Cook <dlc () cs ! appstate ! edu>
To: tru64-unix-managers
Subject: SUMMARY: Problem with root permissions
Date: Thu, 08 Feb 2001 17:54:16 +0000	[thread overview]
Message-ID: <98165527623440.tru64-unix-managers.marc@archive.invalid> (raw)

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

                 reply	other threads:[~2001-02-08 17:54 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox