tar a prava adresare

Ladislav Vaiz ziav na adela.fel.zcu.cz
Pátek Červen 14 13:06:14 CEST 2002


Dobry den,
chci vytvorit archiv, ktery bude mj. obsahovat soubory
.ssh/authorized_keys a .ssh/config. Prikaz

tar czf a.tar.gz .ssh/authorized_keys .ssh/config

sice vytvori adresar .ssh a v nem tyto soubory, ale nezachovava prava k
adresari (maji byt 600). Kdyz taru pridam i adresar .ssh, tak ma v archivu
prava spravne, ale ulozi se i soubor identity, coz nechci.

Jde to nejak vyresit bez --exclude? Neexistuje jiny archiver, ktery
zachovava prava?

Tar pochazi z rh71, je tedy IMHO pomerne novy.

			La'd"a

 __... ...__  _.. .  ___ _._ .____ __.. .. ._
If debugging is the process of removing bugs, then programming must be the
process of putting them in.



Další informace o konferenci Linux