help on tar errors

Sotiris Tsimbonis stsimb at hellug.gr
Sun Nov 7 15:03:16 EET 1999


On Sun, 7 Nov 1999, N P wrote:
> mporeite na mou ekseighsete auto: 1.Kano "tar -xzvf onoma.tar.gz" alla
> apo ta arxeia pou bgazei se polla mou grafei (endhktika mia grammh (0)
> ): tar: cdrecord-1.6.1/DEFAULTS/MKLINKS: Cannot chown to uid 12 gid
> 300: Operation not permitted

To tar, krataei ton uid/gid aytou pou dhmiourgei to sympiesmeno arxeio,
kai otan esy pas na to aposympieseis, prospathei na ta epanaferei. Epeidh
esy twra eisai aplos user, kai oxi o root, den mporei na kanei to chown,
kai gi'ayto sou bgazei ayto to mynhma lathous..

axjxe at rosehill-1:~ > tar --same-owner -xvzf ~sotiris/test-1.0.tar.gz
test/
test/README
tar: test/README: Cannot chown to uid 500 gid 10: Operation not permitted
test/test.c
tar: test/test.c: Cannot chown to uid 500 gid 10: Operation not permitted
tar: test: Cannot chown to uid 500 gid 10: Operation not permitted
tar: Error exit delayed from previous errors
axjxe at rosehill-1:~ > cd test
axjxe at rosehill-1:~/test > ls -al
total 2
drwxr-xr-x   2 axjxe    users        1024 Nov  7 12:50 .
drwxr-xr-x   8 axjxe    users        1024 Nov  7 12:54 ..
-rw-r--r--   1 axjxe    users          52 Nov  7 12:50 README
-rw-r--r--   1 axjxe    users          25 Nov  7 12:50 test.c


> kai sto telos tar: Error exit delayed from previous errors To oraio
> einai oti ta aposumpiezei (toulaxiston ena meros uparxei sto disko).

Logika, an to archive einai oloklhro, tote OLA ta arxeia einai sto disko,
apla exoun to diko sou uid/gid anti gi'ayto pou exei to .tar.gz ..

An se enoxloun toso poly ta mynhmata lathous, aposympieseto kai san root,
kai sygkrine ta dyo directories.. Tha deis oti mono sto uid/gid diaferoun.

Sotiris.

---
Hi! I'm a .signature virus! Copy me into your .signature to help me spread!



--
====================================================================
Gia boithia (h na diagrafhte) e-mail sto majordomo at hellug.gr
Ta archives tis listas einai sto http://lists.hellug.gr/archives
prin steilete kapoia erothsh psakte mipos exei hdh apanththei.
Gia opoiodipote problima stilte e-mail ston owner-linux-greek-users at hellug.gr
====================================================================



More information about the Linux-greek-users mailing list