tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY: Problem with root permissions
@ 2001-02-08 17:54 Darryl Cook
  0 siblings, 0 replies; only message in thread
From: Darryl Cook @ 2001-02-08 17:54 UTC (permalink / raw)
  To: tru64-unix-managers

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-02-08 17:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-02-08 17:54 SUMMARY: Problem with root permissions Darryl Cook

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