Michael Orlitzky:
> On 08/27/2016 07:42 PM, Wietse Venema wrote:
> >>
> >> Thanks. The "cp -p" feature was not portable in the days that this script
> >> was written, but it should be safe to use now.
> > 
> > Unfortunately, I have to roll back this change, because it may
> > install files with non-root ownership.
> > 
> > Those who built postfix-3.2-2060827 should do "postfix set-permissions"
> > or install postfix-3.2-2060828 which I will upload in a few minutes
> > time to ftp.porcupine.org.
> 
> The "-p" flag (at least in GNU coreutils) is a shortcut for,
> 
>   --preserve=mode,ownership,timestamps
> 
> Unfortunately, the behavior of "--preserve" is not sufficiently
> standard. Perhaps "tar --no-same-owner" can be used as a poor man's cp,
> since it preserves modification times by default?

Sorry, Postfix needs to work on systems other than Gnu Linux.

Many systems come with an install command, but could not use it
when I published Postfix, because every system had different syntax.
I just checked with Linux, BSD, and Solaris, and it is still a mess.
They don't even agree on how to atomically replace a file.

        Wietse

Reply via email to