Upgrading mlocate: /var/lib/mlocate/ Permissions Warning.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hi,

This morning's `pacman -Su' encountered

    (10/13) upgrading mlocate           [######################] 100%
    warning: directory permissions differ on /var/lib/mlocate/ filesystem: 750  package: 755
    (11/13) upgrading xkeyboard-config  [######################] 100%

when upgrading from version 0.26-6 to 0.26.git.20170220-1.
Sure enough, afterwards

    drwxr-x--- 2 root locate     4096 Jun 10 00:01 /var/lib/mlocate
    -rw-r----- 1 root locate 16287372 Jun 10 00:01 /var/lib/mlocate/mlocate.db

https://git.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/mlocate#n58
seems to take care that /var/lib/locate is 750 on line 58, but that's
`locate', not `mlocate', so perhaps `mlocate' needs a similar set up?

    $ zcat /var/lib/pacman/local/mlocate-0.26.git.20170220-1/mtree |
    > grep '^\./var/lib'
    ./var/lib time=1528233128.0 mode=755 type=dir
 ✓  ./var/lib/locate time=1528233128.0 mode=750 gid=21 type=dir
 ✗  ./var/lib/mlocate time=1528233128.0 mode=755 type=dir
    $
    $ tar tvf /var/cache/pacman/pkg/mlocate-0.26.git.20170220-1-x86_64.pkg.tar.xz \
    >     --warning=no-unknown-keyword var/lib
    drwxr-xr-x root/root         0 2018-06-05 22:12 var/lib/
 ✓  drwxr-x--- root/21           0 2018-06-05 22:12 var/lib/locate/
 ✗  drwxr-xr-x root/root         0 2018-06-05 22:12 var/lib/mlocate/
    $

-- 
Cheers, Ralph.
https://plus.google.com/+RalphCorderoy



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux