gvfs 1.54.0-1 - Permissions mismatch for /usr/share/polkit-1/rules.d
Description:
gvfs 1.54.0-1 (currently in extra-testing) ships a /usr/share/polkit-1/rules.d/
directory with different permissions as compared to other packages that ship the same directory, e.g. systemd 255.4-2, polkit 124-2, as well as the previous version gvfs-1.52.2-2 (currently in extra):
$ tar tvf polkit-124-2-x86_64.pkg.tar.zst | grep usr/share/polkit-1/rules.d
drwxr-xr-x root/root 0 2024-02-10 07:28 usr/share/polkit-1/rules.d/
-rw-r--r-- root/root 326 2024-02-10 07:28 usr/share/polkit-1/rules.d/50-default.rules
$ tar tvf gvfs-1.52.2-2-x86_64.pkg.tar.zst | grep usr/share/polkit-1/rules.d/
drwxr-xr-x root/root 0 2024-01-17 20:35 usr/share/polkit-1/rules.d/
-rw-r--r-- root/root 595 2024-01-17 20:35 usr/share/polkit-1/rules.d/org.gtk.vfs.file-operations.rules
$ tar tvf gvfs-1.54.0-1-x86_64.pkg.tar.zst | grep usr/share/polkit-1/rules.d/
drwxr-x--- root/polkitd 0 2024-03-15 22:01 usr/share/polkit-1/rules.d/
-rw-r--r-- root/root 595 2024-03-15 22:01 usr/share/polkit-1/rules.d/org.gtk.vfs.file-operations.rules
This causes a warning first when upgrading the package:
$ sudo pacman -Syu
[...]
(18/19) upgrading gvfs [######################] 100%
warning: directory permissions differ on /usr/share/polkit-1/rules.d/
filesystem: 755 package: 750
And then later when running pacman -Qkkq:
$ pacman -Qkk gvfs
warning: gvfs: /usr/share/polkit-1/rules.d (GID mismatch)
warning: gvfs: /usr/share/polkit-1/rules.d (Permissions mismatch)
gvfs: 336 total files, 1 altered file
I see that this related change was included recently in gvfs 1.52.2-2: 32a3c702 , but then was reverted in the next commit?
Additional info:
- package version(s): gvfs 1.54.0-1
- config and/or log files: N/A
- link to upstream bug report, if any: N/a
Steps to reproduce:
- Install Arch Linux
- Install gvfs 1.52.2-2 from extra
- Run
pacman -Qkk gvfs
and notice no warnings are emitted. - Enable the testing repos and upgrade to gvfs 1.54.0-1. Notice the permissions warning during upgrade.
- Run
pacman -Qkk gvfs
and notice the warning.