Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package mlocate for openSUSE:Factory checked in at 2024-01-12 23:46:37 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/mlocate (Old) and /work/SRC/openSUSE:Factory/.mlocate.new.21961 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "mlocate" Fri Jan 12 23:46:37 2024 rev:34 rq:1138325 version:0.26 Changes: -------- --- /work/SRC/openSUSE:Factory/mlocate/mlocate.changes 2024-01-09 20:49:39.140217916 +0100 +++ /work/SRC/openSUSE:Factory/.mlocate.new.21961/mlocate.changes 2024-01-12 23:46:54.925867031 +0100 @@ -6,0 +7,7 @@ +Wed Dec 13 17:16:03 UTC 2023 - Jean Delvare <[email protected]> + +- Add a post-install scriptlet to fix incorrect database + permissions (bsc#1188933). Modified: + * mlocate.spec + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ mlocate.spec ++++++ --- /var/tmp/diff_new_pack.RGat8r/_old 2024-01-12 23:46:55.537889432 +0100 +++ /var/tmp/diff_new_pack.RGat8r/_new 2024-01-12 23:46:55.537889432 +0100 @@ -108,6 +108,12 @@ %{fillup_only -n locate} %service_add_post mlocate.service mlocate.timer +# If database permissions are wrong (see bsc#1188933), fix them +if [ -f "%{_localstatedir}/lib/mlocate/mlocate.db" ] +then + chmod 644 "%{_localstatedir}/lib/mlocate/mlocate.db" +fi + %preun %service_del_preun mlocate.service mlocate.timer
