You are not logged in.

#1 2022-07-23 17:10:04

antani
Member
Registered: 2021-10-17
Posts: 17

[SOLVED] filesystem: /root permissions mismatch

Hello everyone,
I ran the command

sudo pacman -Qkk filesystem

to check if there was any issue in the filesystem.

The output (sorry it's in italian):

file di backup: filesystem: /etc/fstab (l'orario della modifica non corrisponde)
file di backup: filesystem: /etc/fstab (la dimensione non corrisponde)
file di backup: filesystem: /etc/fstab (MD5 checksum mismatch)
file di backup: filesystem: /etc/fstab (SHA256 checksum mismatch)
file di backup: filesystem: /etc/group (l'orario della modifica non corrisponde)
file di backup: filesystem: /etc/group (la dimensione non corrisponde)
file di backup: filesystem: /etc/group (MD5 checksum mismatch)
file di backup: filesystem: /etc/group (SHA256 checksum mismatch)
file di backup: filesystem: /etc/gshadow (l'orario della modifica non corrisponde)
file di backup: filesystem: /etc/gshadow (la dimensione non corrisponde)
file di backup: filesystem: /etc/gshadow (MD5 checksum mismatch)
file di backup: filesystem: /etc/gshadow (SHA256 checksum mismatch)
file di backup: filesystem: /etc/passwd (l'orario della modifica non corrisponde)
file di backup: filesystem: /etc/passwd (la dimensione non corrisponde)
file di backup: filesystem: /etc/passwd (MD5 checksum mismatch)
file di backup: filesystem: /etc/passwd (SHA256 checksum mismatch)
file di backup: filesystem: /etc/resolv.conf (l'orario della modifica non corrisponde)
file di backup: filesystem: /etc/resolv.conf (la dimensione non corrisponde)
file di backup: filesystem: /etc/resolv.conf (MD5 checksum mismatch)
file di backup: filesystem: /etc/resolv.conf (SHA256 checksum mismatch)
file di backup: filesystem: /etc/shadow (l'orario della modifica non corrisponde)
file di backup: filesystem: /etc/shadow (la dimensione non corrisponde)
file di backup: filesystem: /etc/shadow (MD5 checksum mismatch)
file di backup: filesystem: /etc/shadow (SHA256 checksum mismatch)
file di backup: filesystem: /etc/shells (l'orario della modifica non corrisponde)
file di backup: filesystem: /etc/shells (la dimensione non corrisponde)
file di backup: filesystem: /etc/shells (MD5 checksum mismatch)
file di backup: filesystem: /etc/shells (SHA256 checksum mismatch)
attenzione: filesystem: /root (i permessi non corrispondono)
filesystem: 116 file totali, 1 file alterati

I can't understand this warning: filesystem: /root (permissions mismatch), do I have to worry? How can I fix it?

Thanks

Last edited by antani (2022-07-24 09:55:45)

Offline

#2 2022-07-23 17:25:40

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,671

Re: [SOLVED] filesystem: /root permissions mismatch

Those are all non problems.   All of those files change over time as you add users, set their password, define what volumes in your computer mount where, etc...   Whenever you change a password, you are going to see new checksums sums on shadow along with changes to the modified date..  Many packages add groups. 

The only thing I would check into are the permissions on /root


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#3 2022-07-23 17:32:06

antani
Member
Registered: 2021-10-17
Posts: 17

Re: [SOLVED] filesystem: /root permissions mismatch

Thanks for the reply.

ewaller wrote:

The only thing I would check into are the permissions on /root

Yep, that was my concern. When I installed my Arch I disabled the root login, that could be the cause of this warning?

Offline

#4 2022-07-23 17:35:46

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,671

Re: [SOLVED] filesystem: /root permissions mismatch

I would not expect it to.  Compare your /root to mine:

ewaller@odin/home/ewaller % ls -ld /root
drwxr-x--- 14 root root 4096 Jul 16 14:15 /root
ewaller@odin/home/ewaller % 

Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#5 2022-07-23 17:41:23

antani
Member
Registered: 2021-10-17
Posts: 17

Re: [SOLVED] filesystem: /root permissions mismatch

ewaller wrote:

I would not expect it to.  Compare your /root to mine:

ewaller@odin/home/ewaller % ls -ld /root
drwxr-x--- 14 root root 4096 Jul 16 14:15 /root
ewaller@odin/home/ewaller % 

it looks quite similar:

prr@antani $ ls -ld /root
drwx------ 13 root root 4096 23 lug  2022 /root

Offline

#6 2022-07-23 17:55:46

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,671

Re: [SOLVED] filesystem: /root permissions mismatch

That is safe.  My system is a very fresh install and has never had a root login.  Yours is slightly more restrictive


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#7 2022-07-23 18:01:28

antani
Member
Registered: 2021-10-17
Posts: 17

Re: [SOLVED] filesystem: /root permissions mismatch

ewaller wrote:

That is safe.  My system is a very fresh install and has never had a root login.  Yours is slightly more restrictive

yes no group permissions, and I still can't understand the warning above sad

Offline

#8 2022-07-23 18:35:47

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,671

Re: [SOLVED] filesystem: /root permissions mismatch

antani wrote:

I still can't understand the warning above sad

Which one? "attenzione: filesystem: /root (i permessi non corrispondono)" or "Yours is slightly more restrictive"?

The former just means that the permissions are different than they were when you installed 'filesystem'.  One of two things happened, you changed your system, or the developers changed things since you installed and your install is not what you would get from a fresh install.

The later (my quote) says not to worry about.  Unless you need someone who is not root, but is in root's group to have the ability to reach inside /root to a deeper directory (like /root/somedirectory) in which somedirectory has read and execute flags.  I can think of no good reason why one would need that.  So, why not turn it off?  It is on your system, and I don't know why.

If it really bothers you, change the mode of /root.  I wouldn't


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#9 2022-07-24 09:55:08

antani
Member
Registered: 2021-10-17
Posts: 17

Re: [SOLVED] filesystem: /root permissions mismatch

ewaller wrote:

The former just means that the permissions are different than they were when you installed 'filesystem'.  One of two things happened, you changed your system, or the developers changed things since you installed and your install is not what you would get from a fresh install.

Ok that was my question, thank you!

Offline

Board footer

Powered by FluxBB