[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: copying a file with appropriate permission
- From: "Mikkel L. Ellertson" <mikkel Infinity-ltd com>
- To: <redhat-list redhat com>
- Subject: Re: copying a file with appropriate permission
- Date: Wed, 31 Oct 2001 03:48:54 -0600 (CST)
On Wed, 31 Oct 2001 muthupandi radisoft com wrote:
> 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
>
>
Try cp -a instead of cd. Or try rsync -a.
Mikkel
--
Do not meddle in the affairs of dragons,
for you are crunchy and taste good with ketchup.
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]