[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

copying a file with appropriate permission



how to copy a file with appropriate permission in linux. instead of move. 

my problem is i want to copy all the users mails(var/spool/mail/*)into a new hdd. if i cp the files it is changing the permission to root. i don't want to mv.

thanks,
Muthupandi







[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]