FS#75500 - [redis] directory permission differences
Attached to Project:
Community Packages
Opened by Dawid Janczak (Gat) - Wednesday, 03 August 2022, 10:30 GMT
Last edited by freswa (frederik) - Monday, 21 November 2022, 20:55 GMT
Opened by Dawid Janczak (Gat) - Wednesday, 03 August 2022, 10:30 GMT
Last edited by freswa (frederik) - Monday, 21 November 2022, 20:55 GMT
|
Details
Description:
Hello, I installed redis last week: [2022-07-17T14:22:04+0800] [PACMAN] Running 'pacman -S --config /etc/pacman.conf -- redis' [2022-07-17T14:22:06+0800] [ALPM] transaction started [2022-07-17T14:22:06+0800] [ALPM] installed redis (7.0.3-1) [2022-07-17T14:22:06+0800] [ALPM] transaction completed [2022-07-17T14:22:06+0800] [ALPM] running '20-systemd-sysusers.hook'... [2022-07-17T14:22:06+0800] [ALPM-SCRIPTLET] Creating group 'redis' with GID 963. [2022-07-17T14:22:06+0800] [ALPM-SCRIPTLET] Creating user 'redis' (Redis in-memory data structure store) with UID 963 and GID 963. [2022-07-17T14:22:06+0800] [ALPM] running '30-systemd-daemon-reload.hook'... [2022-07-17T14:22:06+0800] [ALPM] running '30-systemd-tmpfiles.hook'... [2022-07-17T14:22:06+0800] [ALPM] running '30-systemd-update.hook'... Today I updated the system and got the following warning: [2022-08-03T18:10:29+0800] [ALPM] warning: directory permissions differ on /etc/redis/ filesystem: 775 package: 755 [2022-08-03T18:10:29+0800] [ALPM] upgraded redis (7.0.3-1 -> 7.0.4-1) Additional info: * package version(s) redis 7.0.3-1 upgrade to 7.0.4-1 * config and/or log files etc. * link to upstream bug report, if any Steps to reproduce: Upgrade redis from 7.0.3-1 to 7.0.4-1 |
This task depends upon
Closed by freswa (frederik)
Monday, 21 November 2022, 20:55 GMT
Reason for closing: Fixed
Additional comments about closing: redis-7.0.5-3
Monday, 21 November 2022, 20:55 GMT
Reason for closing: Fixed
Additional comments about closing: redis-7.0.5-3
> Upgrade redis from 7.0.3-1 to 7.0.4-1
I just tried this in a clean chroot and no problem. Manually Inspecting the pkgs suggests perms are fine. Something must have changed the perms on your system prior to the upgrade.
Recently I noticed that if I fix the permissions, and reinstall the package, they are reverted. If I reinstall again, I get that warning.
After some more digging, I found that the package permissions for /etc/redis are 755, but in the tmpfile, it says 775. That's probably the cause of the problem.
https://github.com/archlinux/svntogit-community/blob/packages/redis/trunk/redis.tmpfiles#L2