I want to use and NFS mount to:
cd /nfs_mounted_dir
find . -depth -print | cpio -pdm /local_mounted_directory
I am getting all kinds of permisions errors. mostly w/ the hidden '.' files but also w/ other files and directories.
I am root, the mount is rw, the local_mounted_directory is 777, the /nfs_mounted_dir has 755 and the sub dirs are of mixed perm and owners.
Is there a way to cpio without these permission errors. It is important that I restore these directories 'as they were'. I am doing all this to decrease partition size/ repartion a Sun box.
Thanks,
Mikeb
cd /nfs_mounted_dir
find . -depth -print | cpio -pdm /local_mounted_directory
I am getting all kinds of permisions errors. mostly w/ the hidden '.' files but also w/ other files and directories.
I am root, the mount is rw, the local_mounted_directory is 777, the /nfs_mounted_dir has 755 and the sub dirs are of mixed perm and owners.
Is there a way to cpio without these permission errors. It is important that I restore these directories 'as they were'. I am doing all this to decrease partition size/ repartion a Sun box.
Thanks,
Mikeb