From 830ceadf0225bfcd0a2c98fb8091e7deefa6dc8a Mon Sep 17 00:00:00 2001 From: Renato Botelho Date: Wed, 11 Mar 2015 17:46:54 -0300 Subject: [PATCH] Remove -U from mtree call used to restore files permissions, this is replacing symlink targets by the old values. Ticket #4328 --- etc/rc.firmware | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/rc.firmware b/etc/rc.firmware index bde99dbca6..8d87a776bc 100755 --- a/etc/rc.firmware +++ b/etc/rc.firmware @@ -66,7 +66,7 @@ backup_chflags() { restore_chflags() { TOPROCESS="bin lib libexec sbin usr" for files in $TOPROCESS; do - cd / && /usr/bin/bzcat /tmp/chflags.dist.${files}.bz2 | /usr/sbin/mtree -PU -p /${files} >> /conf/upgrade_log.txt 2>&1 + cd / && /usr/bin/bzcat /tmp/chflags.dist.${files}.bz2 | /usr/sbin/mtree -P -p /${files} >> /conf/upgrade_log.txt 2>&1 done }