]> git.pld-linux.org Git - packages/amanda.git/commitdiff
- more trigger fun
authorJan Rękorajski <baggins@pld-linux.org>
Mon, 11 Dec 2006 11:45:54 +0000 (11:45 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    amanda.spec -> 1.147

amanda.spec

index 37f7aacfc6815a573d978da000a2fbd3a3194141..3337194a47a64c0f7479baeb6a30de6f45d17131 100644 (file)
@@ -204,6 +204,11 @@ echo "Adding amanda to disk and backup groups"
 /usr/sbin/usermod -G disk,backup amanda
 echo "Setting amanda shell to /bin/sh"
 /usr/bin/chsh -s /bin/sh amanda
+if [ -f %{_localstatedir}/amanda/.amandahosts ]; then
+       echo "Fixing permissions of %{_localstatedir}/amanda/.amandahosts file"
+       chown amanda.amanda %{_localstatedir}/amanda/.amandahosts
+       chmod 600 %{_localstatedir}/amanda/.amandahosts
+fi
 
 %pre libs
 %groupadd -P %{name}-libs -g 80 amanda
This page took 0.031823 seconds and 4 git commands to generate.