# edit: waves at Slithery
]]>-f, --fix-file-perms
Adjust any file permissions which differ between the filesystem and the package. See also -Qkk option to list packages for which a difference exists.
e.g.
# pacman -Sf accountsservice
directory permissions differ on /var/lib/AccountsService/users/
filesystem: 755 package: 700 - change to 700 (y/n?): y
/var/lib/AccountsService/users changed to 700.
#
]]>I was essentially asking both, as I wasn't sure if I correctly understood the problem, as well as not sure what the correct way to solve it was.
Found the answers very useful, so thanks again.
Also, the course of action is already given in OP's post: change the permissions to what the package indicates (unless you explicitly want to keep it the way it is, but then you'll be getting warnings on all subsequent upgrades again).
]]>It is my understanding the the package permissions were originally 755 and now changed to 700 while pacman doesn't change the directories' permission. Therefore the containing directory ( /var/lib/AccountsService/users/) is still 755 while the files it contains are 700.
Yes, this is correct.
In this particular case, the change was made upstream: https://gitlab.freedesktop.org/accounts … d9861f2e71
]]>warning: directory permissions differ on /var/lib/AccountsService/users/
filesystem: 755 package: 700
It is my understanding the the package permissions were originally 755 and now changed to 700 while pacman doesn't change the directories' permission. Therefore the containing directory ( /var/lib/AccountsService/users/) is still 755 while the files it contains are 700.
Is this correct? and should I change the folders permission manually to fix this warning?
Thanks,
Ariel.