Hello, This message is a little "out of the topic", but I think that could help...
Just a little "trick" I use when I want to copy larges trees with complex permisions : # cd /dir/to/copy # tar cpf - --numeric-owner * | (cd /destination/dir ; tar xpf - --numeric-owner) Has somone a better, faster, more efficient way to do it ? I think cp -R ... cannot do the job when copying devices (in /dev ) , soft links.... The major problem is for hard links that are "losts". Does someone know a way to preserve them when doing so, I meen copy the inode(s) and make multiples files points to it, no make the new files point to diff�rents copies of the original inode, nor make the new files point to the original inode ? Matthieu ----- Original Message ----- From: "Werner Schalk" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Monday, May 16, 2005 1:51 PM Subject: Re: [Vserver] MySQL inside a vserver - permission denied? > Hi guys, > > ok my problem seems to be solved. It was a simple permission problem (I used > "cp" to copy a vserver but did not preserve the permissons). Thanks a lot > again to all the people that helped me. > > Thanks and bye, > Werner. > _______________________________________________ > Vserver mailing list > [email protected] > http://list.linux-vserver.org/mailman/listinfo/vserver > _______________________________________________ Vserver mailing list [email protected] http://list.linux-vserver.org/mailman/listinfo/vserver
