mirror of
git://git.sv.gnu.org/findutils.git
synced 2026-01-27 20:23:20 +01:00
change problem with executable mode of updatedb.conf
This commit is contained in:
6
debian/postinst
vendored
6
debian/postinst
vendored
@@ -5,6 +5,12 @@ set -e
|
||||
install-info --quiet --section "General commands" "General commands" \
|
||||
/usr/info/find.info.gz
|
||||
|
||||
# In older releases, /var/lib/locate was owned by nobody
|
||||
# findutils_4.1-12 installed /var/lib/locate as root:root
|
||||
chown root:root /var/lib/locate
|
||||
chmod 755 /var/lib/locate
|
||||
|
||||
# In some releases, updatedb.conf was installed executable
|
||||
if [ -x /etc/updatedb.conf ]; then
|
||||
chmod 644 /etc/updatedb.conf
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user