Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 06-08-2004, 06:00 AM   #1
LQ Newbie
Registered: Apr 2004
Posts: 15

Rep: Reputation: 0
Unhappy 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.
Old 06-08-2004, 08:00 AM   #2
Senior Member
Registered: Sep 2002
Location: Nashville, TN
Posts: 1,552

Rep: Reputation: 53
-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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
scp does not work and gives the following error message: scp: FATAL: Executing ssh1 i akay Linux - Networking 16 09-28-2008 11:41 PM
Preserving Permissions RemusX2 Linux - Software 2 07-10-2005 11:20 AM
mv: preserving times / setting permissions (FAT32) Samsara Linux - General 4 01-25-2005 06:57 AM
Preserving permissions when using cp pilot1 Linux - General 2 08-16-2003 05:29 AM
preserving konsole colours kazuni Linux - Newbie 2 06-03-2003 08:18 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:38 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration