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

Re: copying a file with appropriate permission



Thanks,
i have done.

-muthupandi

---"Rupesh" <rupesh nadar moneycontrol com> wrote:
>Use the cp command as
>
>cp -pRv <Original Filename> <File to be copied to 
>the new location>
>
>Your file permissions will remain intact.
>
>-Rupesh
>
>----- Original Message -----
>From: <muthupandi radisoft com>
>To: <redhat-list redhat com>
>Sent: Wednesday, October 31, 2001 3:13 PM
>Subject: 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
>>
>
>
>
>_______________________________________________
>Redhat-list mailing list
>Redhat-list redhat com
>https://listman.redhat.com/mailman/listinfo/redhat
>-list
>





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