actually --no-preserve doesn't work for this case... - changing to --preserve
This commit is contained in:
parent
50da1d20db
commit
749c1d9093
@ -1,7 +1,7 @@
|
||||
Summary: The basic required files for the root user's directory
|
||||
Name: rootfiles
|
||||
Version: 8.1
|
||||
Release: 15%{?dist}
|
||||
Release: 16%{?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 -ndpr --no-preserve=mode /etc/skel/. /root/ || :
|
||||
cp -ndr --preserve=ownership,timestamps /etc/skel/. /root/ || :
|
||||
fi
|
||||
|
||||
%files
|
||||
@ -43,6 +43,10 @@ fi
|
||||
%config(noreplace) /root/.[A-Za-z]*
|
||||
|
||||
%changelog
|
||||
* Wed Dec 04 2013 Ondrej Vasik <ovasik@redhat.com> 0.1-16
|
||||
- actually --no-preserve doesn't work for this case...
|
||||
- changing to --preserve
|
||||
|
||||
* Wed Dec 04 2013 Ondrej Vasik <ovasik@redhat.com> 0.1-15
|
||||
- fix the posttrans scriptlet to not change the /root
|
||||
permissions (#1037688)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user