The system in the post is an eos+alhp system, but since then I have checked my cachyos install too, same issues there too, so it’s not distro or repo specific.
Maybe someone here has some idea about solving this, seems like an issue that is at least not ideal or potentially a security issue if some critical file/directory is too permissive.
Yes, well, I usually blame (whether true or not, i don’t know) lazy careless developers and packagers ;0
I’ll look forward to hearing what others think.
I think it’s not a maintainer issue, more like a pacman/knowledge issue. Everyone makes mistakes and they have fixed the permissions in an update since the first install. Probably that’s the cause of these mismatches.
Also pacman only warns about directory permissions, not file permissions.
I have no idea how to set everything to default. I rarely change permissions on system files.
well there’s a lot of output, I have filtered for mismatch first, there were lot of lines about backup files, I don’t know what they mean and lot of kinds of mismatches, even file type!?
But I guess I only care about the permission ones, those are not that much, but it doesn’t tell me what it should be.
Same amount of lines about the same files/folders. I have highlighted 2 lines in each, don’t know how they exactly happened and what do they mean. Why does fftw care about /root and the ideapad one about sudoers.d, weird…
I’m also using the ALHP and did a check via the sudo pacman -Qkk command.
In the process I stumbled upon some identical file permission differences
Those should be only noise. The cups package installs them as 644, but cupsd rewrites these files in a stricter scope of 600.
It also varies on my machine with 2755, which isn’t that problematic I think. But could be enforced by reinstalling the package manually sudo pacman -S libutempter. Or by manually changing the permissions back via sudo chmod 2711 /usr/lib/utempter/utempter
But those are the only file permission difference I’ve seen on my system.