[EMAIL PROTECTED] wrote:
> 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.

This is a system dependent feature.  Some older classic Unix systems
allowed users to give away files.  But it causes problems and most
modern systems do not allow this behavior.  Please look at the
documentation here:

  http://www.gnu.org/software/coreutils/faq/

Look for "Why can only root chown files?"  It will explain in more
detail the issue that you are experiencing.  It talks about chown but
it is the same issue as with 'cp -p'.

Bob


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

Reply via email to