[rootfiles] Actually cp -ndpr is better than cp -a (selinux)

Ondrej Vasik ovasik at fedoraproject.org
Wed Sep 18 14:18:12 UTC 2013


commit f21a49876f148c6d68254bf7a74a1cbc94cef6af
Author: Ondřej Vašík <ovasik at redhat.com>
Date:   Wed Sep 18 16:17:54 2013 +0200

    Actually cp -ndpr is better than cp -a (selinux)

 rootfiles.spec |    6 +++---
 1 files 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 <ovasik at redhat.com> 0.1-12
+* Wed Sep 18 2013 Ondrej Vasik <ovasik at redhat.com> 0.1-13
 - copy content of /etc/skel directory for root as posstrans,
   don't overwrite  existing files (#999114)
 


More information about the scm-commits mailing list