[EMAIL PROTECTED] wrote:
Thanks for this "cp" copy command, it works and has good options.  In "man
cp" it states the "-p" option will preserve mode, ownership and timestamp.
When I copy from a backup directory it does not preserve ownership, but
does keep the original timestamp, which is usually all I've worried about
before.  Shouldn't  the ownership of the copied file be the same as the
origination file when using the "cp -p filefrom fileto" command?  When I
copy it shows the ownership as myself instead.

Unless you are root, this seems to be correct; you can't give away files unless you are root...

--
Matthew
"943. I am not Bjorn of Borg."
 -- from 975 things Mr. Welch can no longer do in an RPG
http://theglen.livejournal.com/16735.html



_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to