Paul Eggert <[EMAIL PROTECTED]> wrote:
> The 'install' command sets the time stamp on the installed file after
> changing ownership, whereas other coreutils commands (cp, mv) set the
> time stamp before chowning.  The other coreutils commands seem right
> to me, if only so that the time stamp is set correctly on hosts that
> let non-root users give away files via chown.
>
> Here's a proposed patch to make them consistent.  This patch doesn't
> fix any bugs that I can see on ordinary platforms where non-root users
> can't give away files, but it does make the code a bit more
> consistent.
>
> +2006-12-03  Paul Eggert  <[EMAIL PROTECTED]>
> +
> +     * src/install.c (install_file_in_file): Preserve time stamps
> +     before changing owner or file mode bits, for consistency with
> +     other coreutils programs.

Thanks!
Applied.


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

Reply via email to