From f21a49876f148c6d68254bf7a74a1cbc94cef6af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Va=C5=A1=C3=ADk?= Date: Wed, 18 Sep 2013 16:17:54 +0200 Subject: [PATCH] Actually cp -ndpr is better than cp -a (selinux) --- rootfiles.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rootfiles.spec b/rootfiles.spec index a371d98..e741151 100644 --- a/rootfiles.spec +++ b/rootfiles.spec @@ -1,7 +1,7 @@ Summary: The basic required files for the root user's directory Name: rootfiles Version: 8.1 -Release: 12%{?dist} +Release: 13%{?dist} License: Public Domain Group: System Environment/Base @@ -35,7 +35,7 @@ done %posttrans if [ $1 -eq 0 ] ; then #copy recursively the content, but do not overwrite the original files provided by rootfiles package - cp -na /etc/skel/* /root/ + cp -ndpr /etc/skel/* /root/ fi %files @@ -43,7 +43,7 @@ fi %config(noreplace) /root/.[A-Za-z]* %changelog -* Wed Sep 18 2013 Ondrej Vasik 0.1-12 +* Wed Sep 18 2013 Ondrej Vasik 0.1-13 - copy content of /etc/skel directory for root as posstrans, don't overwrite existing files (#999114)