You are not logged in.

#1 2024-01-22 20:42:00

Iron Squid
Member
From: earth
Registered: 2022-07-18
Posts: 19
Website

[SOLVED] Filesystem package changes permissions to 750 on /root/

Hello, I've upgraded filesystem during today's system update, and have noticed that this warning occurs consistently:


:: Processing package changes...
(1/1) reinstalling filesystem                                                                                                  [-----------------------------------------------------------------------------] 100%
warning: directory permissions differ on /root/
filesystem: 700  package: 750


I'm unsure of why this would be the case, the commits page for the filesystem package doesn't seem to show any obvious indication of a permissions change from 700 to 750, nor did the permissions seem to be overwritten upon upgrade (and reinstalling after rebooting).

I'm not going to alter the permissions for now, but I'm wondering if this change this is intended or not.

Last edited by Iron Squid (2024-01-23 17:19:18)


"An idiot admires complexity, a genius admires simplicity."

-Terry A. Davis

Offline

#2 2024-01-22 22:07:46

xerxes_
Member
Registered: 2018-04-29
Posts: 690

Re: [SOLVED] Filesystem package changes permissions to 750 on /root/

Recently when I was updating system I saw a few more like this:

upgraded aom (3.8.0-2 -> 3.8.1-1)
warning: directory permissions differ on /var/log/audit/
filesystem: 700  package: 755
upgraded shadow (4.14.2-1 -> 4.14.3-1)
warning: directory permissions differ on /usr/share/polkit-1/rules.d/
filesystem: 750  package: 755
upgraded geeqie (2.1-3 -> 2.1-5)
warning: directory permissions differ on /usr/share/polkit-1/rules.d/
filesystem: 750  package: 755
upgraded gthumb (3.12.4-1 -> 3.12.4-2)
warning: directory permissions differ on /usr/share/polkit-1/rules.d/
filesystem: 750  package: 755
upgraded polkit (123-1 -> 124-1)
warning: directory permissions differ on /usr/share/polkit-1/rules.d/
filesystem: 750  package: 755

For now I ignored it, will see in future what will happen.

I think that for /root/ you can simply ignore it; it's not anyone business what you will do with permissions to that directory.

Offline

#3 2024-01-23 02:58:43

Iron Squid
Member
From: earth
Registered: 2022-07-18
Posts: 19
Website

Re: [SOLVED] Filesystem package changes permissions to 750 on /root/

xerxes_ wrote:

Recently when I was updating system I saw a few more like this:

upgraded aom (3.8.0-2 -> 3.8.1-1)
warning: directory permissions differ on /var/log/audit/
filesystem: 700  package: 755
upgraded shadow (4.14.2-1 -> 4.14.3-1)
warning: directory permissions differ on /usr/share/polkit-1/rules.d/
filesystem: 750  package: 755
upgraded geeqie (2.1-3 -> 2.1-5)
warning: directory permissions differ on /usr/share/polkit-1/rules.d/
filesystem: 750  package: 755
upgraded gthumb (3.12.4-1 -> 3.12.4-2)
warning: directory permissions differ on /usr/share/polkit-1/rules.d/
filesystem: 750  package: 755
upgraded polkit (123-1 -> 124-1)
warning: directory permissions differ on /usr/share/polkit-1/rules.d/
filesystem: 750  package: 755

For now I ignored it, will see in future what will happen.

I think that for /root/ you can simply ignore it; it's not anyone business what you will do with permissions to that directory.

See this post for a solution

Last edited by Iron Squid (2024-01-23 02:59:48)


"An idiot admires complexity, a genius admires simplicity."

-Terry A. Davis

Offline

#4 2024-01-23 13:38:13

stanczew
Member
Registered: 2021-03-02
Posts: 64

Re: [SOLVED] Filesystem package changes permissions to 750 on /root/

It was 0750 since the very beginning (2008):
https://gitlab.archlinux.org/archlinux/ … GBUILD#L67

The permissions on your /root had to have been changed manually at some point to 0700.

Offline

#5 2024-01-23 17:18:58

Iron Squid
Member
From: earth
Registered: 2022-07-18
Posts: 19
Website

Re: [SOLVED] Filesystem package changes permissions to 750 on /root/

stanczew wrote:

It was 0750 since the very beginning (2008):
https://gitlab.archlinux.org/archlinux/ … GBUILD#L67

The permissions on your /root had to have been changed manually at some point to 0700.


I see. Something I'd installed must've altered them for whatever reason. I'll chmod it back to 750 to be safe.


"An idiot admires complexity, a genius admires simplicity."

-Terry A. Davis

Offline

Board footer

Powered by FluxBB