]> git.pld-linux.org Git - packages/rpm.git/commitdiff
- umask for mkdir in pretrans
authorJakub Bogusz <qboosh@pld-linux.org>
Mon, 24 Mar 2008 01:16:22 +0000 (01:16 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    rpm.spec -> 1.886

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.042897 seconds and 4 git commands to generate.