]> git.pld-linux.org Git - packages/rpm.git/blobdiff - rpm.spec
- umask for mkdir in pretrans
[packages/rpm.git] / rpm.spec
index abb05d5b895c18f549abd0f5d9c228a07b05041a..81b7fed41b942c509cc8f37bc42c8f482bbb862a 100644 (file)
--- a/rpm.spec
+++ b/rpm.spec
@@ -1042,6 +1042,7 @@ rm -f /var/lib/rpm/__db*
 %pretrans
 # this needs to be a dir
 if [ -f %{_sysconfdir}/rpm/sysinfo ]; then
+       umask 022
        mv -f %{_sysconfdir}/rpm/sysinfo{,.rpmsave}
        mkdir %{_sysconfdir}/rpm/sysinfo
 fi
This page took 0.045131 seconds and 4 git commands to generate.