LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   scp with preserving permissions (https://www.linuxquestions.org/questions/linux-software-2/scp-with-preserving-permissions-191041/)

pradi_net 06-08-2004 06:00 AM

scp with preserving permissions
 
I use scp to copy data from one machine to other. Even if I use "-p" option to preserve the ownership of files its getting changed to the userID which I use for scp. How should I over come this.

stickman 06-08-2004 08:00 AM

-p only preserves timestamps and permissions, not the file ownership. You might try using something like rsync with a user that has appropriate access privelages.


All times are GMT -5. The time now is 10:18 AM.