Directory Permissions changes after upgrading Audit, Systemd, polkit, bolt, geoclue flatpak, fwupd, gnome-control-center, gvfs, libvirt and malcontent packages

Hi,

Thought I might mention that I got the following permission change warnings on this mornings updates:

  • warning: directory permissions differ on /var/log/audit/
    filesystem: 700 package: 755
  • warning: directory permissions differ on /usr/share/polkit-1/rules.d/
    filesystem: 750 package: 755

List of affected packages:

( 2/35) upgrading audit                              [----------------------------] 100%
warning: directory permissions differ on /var/log/audit/
filesystem: 700  package: 755

( 5/35) upgrading systemd                            [----------------------------] 100%
warning: directory permissions differ on /usr/share/polkit-1/rules.d/
filesystem: 750  package: 755

( 7/35) upgrading polkit                             [----------------------------] 100%
warning: directory permissions differ on /usr/share/polkit-1/rules.d/
filesystem: 750  package: 755

( 8/35) upgrading bolt                               [----------------------------] 100%
warning: directory permissions differ on /usr/share/polkit-1/rules.d/
filesystem: 750  package: 755

(15/35) upgrading geoclue                            [----------------------------] 100%
warning: directory permissions differ on /usr/share/polkit-1/rules.d/
filesystem: 750  package: 755

(16/35) upgrading flatpak                            [----------------------------] 100%
warning: directory permissions differ on /usr/share/polkit-1/rules.d/
filesystem: 750  package: 755

(17/35) upgrading fwupd                              [----------------------------] 100%
warning: directory permissions differ on /usr/share/polkit-1/rules.d/
filesystem: 750  package: 755

(19/35) upgrading gnome-control-center               [----------------------------] 100%
warning: directory permissions differ on /usr/share/polkit-1/rules.d/
filesystem: 750  package: 755

(20/35) upgrading gvfs                               [----------------------------] 100%
warning: directory permissions differ on /usr/share/polkit-1/rules.d/
filesystem: 750  package: 755

(28/35) upgrading libvirt                            [----------------------------] 100%
warning: directory permissions differ on /usr/share/polkit-1/rules.d/
filesystem: 750  package: 755

(30/35) upgrading malcontent                         [----------------------------] 100%
warning: directory permissions differ on /usr/share/polkit-1/rules.d/
filesystem: 750  package: 755

Looking back at past posts on these directories I have noticed upsteam change the permissions and revert. So holding steady unless I see an actual announcement.

Seeing the exact same messages. Though:

[dromundkaas@Pure ~]$ ls -la /usr/share/polkit-1/
insgesamt 4
drwxr-xr-x 1 root root      64 20. Jan 07:57 .
drwxr-xr-x 1 root root    4150 20. Jan 07:57 ..
drwxr-xr-x 1 root root    2856 20. Jan 07:57 actions
-rw-r--r-- 1 root root     881 17. Jan 21:00 policyconfig-1.dtd
drwxr-x--- 1 root polkitd  340 20. Jan 07:57 rules.d
[dromundkaas@Pure ~]$ 

That’s not 0755 for rules.d, so I’m not sure what the update is yapping about. Maybe this is just informative, but it is not really applied?

The error message just lets you know:

  1. What permissions are currently set on the directory.

  2. What the package thinks the permissions should be.

The permissions are not automatically updated. We as end users have to use a command like chmod to update the permissions.

so should you change the permissions or just ignore the warning?

well 5 is not a write permission, maybe they added or want to add something that might be needed by normal users too

I went ahead and changed the permissions with these commands:

sudo chmod 755/var/log/audit
sudo chmod 755 /usr/share/polkit-1/rules.d

The reason I asked about the change is systemd historically made this kind of change then rolled it back.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.