Re: cpio and directory owner preservation behaviour

2011-09-22 Thread David Magda
On Thu, September 22, 2011 10:54, Olivier Cochard-Labbé wrote: [...] > [root@R3]/#(cd /usr/local/etc; find . -name ripd.conf -type f | cpio > -dumpv /tmp/) > > The file owner and permission for ripd.conf is keept: > [root@R3]/#ls -alh /tmp/quagga/ripd.conf > -rw--- 1 quagga quagga 134B Sep

cpio and directory owner preservation behaviour

2011-09-22 Thread Olivier Cochard-Labbé
Hi all, I meet a problem with cpio and I would to know if it's a normal behaviour or a bug. I would to save some files and create directories if needed with owner and permission kept. here is an example with net/quagga: I would to save /usr/local/etc/quagga/ripd.conf and creating needed directory i