On Sat, 21 Aug 2004, Pierre A. Humblet wrote: > On Sat, 14 Aug 2004 13:25:24 -0400 I wrote > >John, > > > >could you use "cp -p" in base-files-profile.sh? > > > >The postinstall exim.sh uses the non-existence of /etc/exim.conf > >as the sign that it's a fresh installation. That test doesn't > >work right if it happens to run after base-files-profile.sh, > >because it creates /etc/exim.conf from /etc/defaults/etc > > > >Being able to compare dates would greatly help. > > That was brain dead suggestion because the -p undoes > the effect of the "touch" and reintroduces the ntsec > problem with cp. > Using the -p to timestamp the file has become unnecessary > anyway since now base-files-profile only handles files in its > manifest. > I am afraid a new version is necessary. Sorry about that.
There's always "touch -r" (or "touch --reference="), if you really need the timestamp. This won't touch the ACLs. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ [EMAIL PROTECTED] ZZZzz /,`.-'`' -. ;-;;,_ [EMAIL PROTECTED] |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "Happiness lies in being privileged to work hard for long hours in doing whatever you think is worth doing." -- Dr. Jubal Harshaw