zmena vlasnika suborov pri rozbalovani tarom

Petr Simek psimek na jcu.cz
Pondělí Leden 8 09:15:50 CET 2001


On Mon, 8 Jan 2001, Juraj Hajka wrote:

> pri rozbalovani tarom v 1.13.17
> maju subory nahodnych vlasnikova skupiny a nie takych kto rozbaluje tar
> balik.
> stava sa ze tam hodi aj neexistujuceho uzivatela

Pouze kdyz to rozbalujete pod rootem. Proste se priradi stejna uid/gid jako
byla na stroji kde se to balilo. Pokud si to neprejete, zkuste parametry ze
skupiny -

Handling of file attributes:
      --owner=NAME             force NAME as owner for added files
      --group=NAME             force NAME as group for added files
      --mode=CHANGES           force (symbolic) mode CHANGES for added files
      --atime-preserve         don't change access times on dumped files
  -m, --modification-time      don't extract file modified time
      --same-owner             try extracting files with the same ownership
      --numeric-owner          always use numbers for user/group names
  -p, --same-permissions       extract all protection information
      --preserve-permissions   same as -p
  -s, --same-order             sort names to extract to match archive
      --preserve-order         same as -s
      --preserve               same as both -p and -s


*------------------------------------------------------------------------*
|                          Petr Simek   APS JU                           |
|                             petrsi na jcu.cz                              |
*------------------------------------------------------------------------*



Další informace o konferenci Linux