/home/users as new mount

Erik Hemdal ehemdal at townisp.com
Thu Dec 2 04:12:12 UTC 2004


 
Content-Type: text/plain; charset=us-ascii; format=flowed
> 
> I want to mounts new hard drive as a /home, but how do I copy 
> files from old /home with permissions and ownership preserved 
> cp -Rv * would copy recursively, but how to preserve 
> ownership and permissions on files.
> 
> Thank you.
> 

Try 
	cp -p

'man cp' for more.   Erik
> 





More information about the fedora-list mailing list