You are not logged in.
I was trying to figure out why some of my USB ports won't work on Arch (they work fine on Win11) and reading through a post here when I ran
sudo LC_ALL=C pacman -Qkk | grep -v ', 0 altered files' | grep -v backup
The output is
warning: amd-ucode: /boot/amd-ucode.img (Permissions mismatch)
warning: discord: /opt/discord/resources/app.asar (Modification time mismatch)
warning: discord: /opt/discord/resources/app.asar (Size mismatch)
warning: discord: /opt/discord/resources/app.asar (SHA256 checksum mismatch)
warning: filesystem: /root (Permissions mismatch)
warning: java-runtime-common: /usr/lib/jvm/default (Symlink path mismatch)
warning: java-runtime-common: /usr/lib/jvm/default (Modification time mismatch)
warning: java-runtime-common: /usr/lib/jvm/default-runtime (Symlink path mismatch)
warning: java-runtime-common: /usr/lib/jvm/default-runtime (Modification time mismatch)
warning: libutempter: /usr/lib/utempter/utempter (GID mismatch)
warning: libutempter: /usr/lib/utempter/utempter (Permissions mismatch)
warning: materialx: /usr/share/mime/model/materialx.xml (No such file or directory)
warning: shadow: /usr/bin/groupmems (GID mismatch)
warning: shadow: /usr/bin/groupmems (Permissions mismatch)
warning: systemd: /var/log/journal (GID mismatch)
amd-ucode: 16 total files, 1 altered file
discord: 95 total files, 1 altered file
filesystem: 124 total files, 1 altered file
java-runtime-common: 21 total files, 2 altered files
libutempter: 20 total files, 1 altered file
materialx: 1193 total files, 1 altered file
shadow: 588 total files, 1 altered file
systemd: 1568 total files, 1 altered file
Unfortunately I don't know if any of these are concerning or possibly causing issues on my system.
If you can inform me as to what's going on here I would greatly appreciate it. Thanks in advance!
Last edited by JackDesper (2025-02-26 11:05:33)
Offline
No idea about discord and materialx, but most of them are normal (sometimes file access rights gets changed w/ a post-install hook) and java is because of the entire "select java version, because 'runs everywhere' my ass" thing.
This is however probably not ok:
* warning: filesystem: /root (Permissions mismatch)
I doubt any of it is related to your usb ports.
Offline
Okay gotcha thank you.
This is however probably not ok:
* warning: filesystem: /root (Permissions mismatch)
That is the one I was most worried about. Upon further investigation, the outputs of
ls -ld /root
lsattr -d /root
getfacl /root
All show as normal, so I'm not sure where the warning comes from. ChatGPT recommends reinstalling filesystem, which feels like it might break something but I don't have any reasons to back that fear.
I'll make another ticket for the weird USB port behavior.
Offline
All show as normal … ChatGPT … feels like … fear
Please don't paraphrase, https://bbs.archlinux.org/viewtopic.php?id=57855
Re-installing filesystem will hardly break, but also not fix anything.
stat /root
Offline
Please don't paraphrase
That was dumb of me
$ ls -ld /root
drwx------ 1 root root 32 Feb 23 20:18 /root
$ sudo lsattr -d /root
[sudo] password:
---------------------- /root
$ getfacl /root
getfacl: Removing leading '/' from absolute path names
# file: root
# owner: root
# group: root
user::rwx
group::---
other::---
$ stat /root
File: /root
Size: 32 Blocks: 0 IO Block: 4096 directory
Device: 0,28 Inode: 351 Links: 1
Access: (0700/drwx------) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2025-02-23 19:13:21.000000000 -0600
Modify: 2025-02-23 20:18:03.223577452 -0600
Change: 2025-02-24 20:46:47.131236460 -0600
Birth: 2025-02-23 19:13:21.838770218 -0600
Offline
/root defaults to 750/root:root, https://gitlab.archlinux.org/archlinux/ … heads#L110
The 700 mode doesn't constitute a problem at all, though, and is only relevant if you have non-root users in the root group.
Offline
The 700 mode doesn't constitute a problem at all, though, and is only relevant if you have non-root users in the root group.
$ getent group root
root:x:0:root
Indeed 700 mode doesn't matter on my system
To confirm diagnoses, I ran
sudo chmod 750 /root
and running the original command from my very first post yields the same output sans the root warning
$ sudo LC_ALL=C pacman -Qkk | grep -v ', 0 altered files' | grep -v backup
warning: amd-ucode: /boot/amd-ucode.img (Permissions mismatch)
warning: discord: /opt/discord/resources/app.asar (Modification time mismatch)
warning: discord: /opt/discord/resources/app.asar (Size mismatch)
warning: discord: /opt/discord/resources/app.asar (SHA256 checksum mismatch)
warning: java-runtime-common: /usr/lib/jvm/default (Symlink path mismatch)
warning: java-runtime-common: /usr/lib/jvm/default (Modification time mismatch)
warning: java-runtime-common: /usr/lib/jvm/default-runtime (Symlink path mismatch)
warning: java-runtime-common: /usr/lib/jvm/default-runtime (Modification time mismatch)
warning: libutempter: /usr/lib/utempter/utempter (GID mismatch)
warning: libutempter: /usr/lib/utempter/utempter (Permissions mismatch)
warning: materialx: /usr/share/mime/model/materialx.xml (No such file or directory)
warning: shadow: /usr/bin/groupmems (GID mismatch)
warning: shadow: /usr/bin/groupmems (Permissions mismatch)
warning: systemd: /var/log/journal (GID mismatch)
amd-ucode: 16 total files, 1 altered file
discord: 95 total files, 1 altered file
java-runtime-common: 21 total files, 2 altered files
libutempter: 20 total files, 1 altered file
materialx: 1193 total files, 1 altered file
shadow: 588 total files, 1 altered file
systemd: 1568 total files, 1 altered file
Thank you very much!
Offline
\o/
Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.
Offline