>From 719dd5ba8bd88b86fd630fea127251ea40a4471f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=A1draig=20Brady?= Date: Sat, 13 Apr 2013 22:23:01 +0100 Subject: [PATCH] doc: mention caveats with using install --compare * doc/coreutils.texi (install invocation): Mention that install(1) may not correctly determine the default user or permissions for installed files, and so is best used with options specifying these attributes. --- doc/coreutils.texi | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/doc/coreutils.texi b/doc/coreutils.texi index 4cfe4c5..d9e93ae 100644 --- a/doc/coreutils.texi +++ b/doc/coreutils.texi @@ -8895,6 +8895,12 @@ The program accepts the following options. Also see @ref{Common options}. Compare each pair of source and destination files, and if the destination has identical content and any specified owner, group, permissions, and possibly SELinux context, then do not modify the destination at all. +Note this option is best used in conjunction with @option{--user}, address@hidden and @option{--mode} options, lest @command{install} +incorrectly determines the default attributes that installed files would have +(as it doesn't consider setgid directories and POSIX default ACLs for example). +This could result in redundant copies or attributes that are not reset to the +correct defaults. @item -c @opindex -c -- 1.7.7.6