You are not logged in.

#1 2015-10-25 18:42:47

zerophase
Member
Registered: 2015-09-03
Posts: 229

[SOLVED]Polkit file permissions warning

I just upgraded Polkit, and received a couple warning about file permissions differing

warning: directory permissions differ on /etc/polkit-1/rules.d/
filesystem: 700  package: 750
warning: directory permissions differ on /usr/share/polkit-1/rules.d/
filesystem: 700  package: 750

I just want to make sure it's a problem on my side.  If it's on my side I should just change those file permissions to 750?

Last edited by zerophase (2015-10-27 16:33:47)

Offline

#2 2015-10-25 19:18:51

raavas
Member
Registered: 2011-10-21
Posts: 86

Re: [SOLVED]Polkit file permissions warning

I have the same issue and would like to know how to proceed?

Offline

#3 2015-10-25 19:27:52

loqs
Member
Registered: 2014-03-06
Posts: 17,362

Re: [SOLVED]Polkit file permissions warning

See https://projects.archlinux.org/svntogit … ca06f460fa
Permissions will be fixed with release 4 so no action should be needed apart from upgrading to release 4 when it becomes available.

Offline

#4 2015-10-26 00:13:34

zerophase
Member
Registered: 2015-09-03
Posts: 229

Re: [SOLVED]Polkit file permissions warning

Just upgraded to 4, and I'm still receiving the same warning.

Offline

#5 2015-10-26 00:28:21

loqs
Member
Registered: 2014-03-06
Posts: 17,362

Re: [SOLVED]Polkit file permissions warning

Should have been clearer you will get the warning when you upgrade from 2 to 3 and again from 3 to 4 but with release 4 the on disk permissions should be changed so there should be no more subsequent warnings and no need for manual intervention.

Offline

#6 2015-10-26 10:45:45

kecef
Member
Registered: 2014-06-05
Posts: 4

Re: [SOLVED]Polkit file permissions warning

It's strange. I've upgraded from 2 to 4 and

zerophase wrote:

warning: directory permissions differ on /etc/polkit-1/rules.d/
filesystem: 700  package: 750
warning: directory permissions differ on /usr/share/polkit-1/rules.d/
filesystem: 700  package: 750

the same thing happen.
But file permissions on disk are correct. So... Why these warnings are displayed?

Offline

#7 2015-10-26 11:35:37

Raynman
Member
Registered: 2011-10-22
Posts: 1,539

Re: [SOLVED]Polkit file permissions warning

Read loqs replies. You get the warnings because the permissions changed. Afterwards, the install script changes the permissions on the filesystem to match the new permissions in the package.

Offline

#8 2016-10-12 10:36:38

ferthelet
Member
From: Santiago
Registered: 2015-02-18
Posts: 10
Website

Re: [SOLVED]Polkit file permissions warning

Hello,

I have just received this message Warning: directory permissions differ on /usr/share/polkit-1/rules.d/ filesystem: 750  package: 755

My question is which is the correct one: the filesystem or the package? In my case, the filesystem remained 750 after the update finished.


--
Fer
Antergos + OB + Numix
Linux version 4.1.6-1-ARCH (builduser@tobias) (gcc version 5.2.0 (GCC) ) #1 SMP PREEMPT Mon Aug 17 08:52:28 CEST 2015

Offline

#9 2016-10-12 11:58:12

hoschi
Member
From: Ulm (Germany)
Registered: 2008-11-03
Posts: 458

Re: [SOLVED]Polkit file permissions warning

I think a new thread would be a good idea. If I remember correctly, this is an old problem which occurs from time to time:
https://www.archlinux.org/todo/polkit-r … de-change/

// edit
I opened a bug:
https://bugs.archlinux.org/index.php?do … k_id=51342

As far as I can tell, everything is fine and you shouldn't change the permission "750" is correct smile

Last edited by hoschi (2016-10-12 12:14:46)

Offline

Board footer

Powered by FluxBB