You are not logged in.

#1 2016-10-12 13:21:11

leosanvieira
Member
Registered: 2016-04-21
Posts: 26

Solved-warning: directory permissions on /usr/share/polkit-1/rules.d/

Hi,

After today's update that included gnome 3.22 and gupnp-av 0.12.9-1, i met the warning below:

[ALPM] upgraded gupnp-av (0.12.8-1 -> 0.12.9-1)
[ALPM] warning: directory permissions differ on /usr/share/polkit-1/rules.d/
filesystem: 750  package: 755

Should i change the directory permissions manually or just ignore it ?

Last edited by leosanvieira (2016-10-14 14:00:40)

Offline

#2 2016-10-12 14:01:11

cribari
Member
From: Recife, Brazil
Registered: 2016-01-28
Posts: 83
Website

Re: Solved-warning: directory permissions on /usr/share/polkit-1/rules.d/

I received the same warning. I then did a sudo chmod 755 /usr/share/poolkit-1/rules.d, rebooted and was unable to enter my password in LightDM. In order to be able to login I disabled LightDM and enabled SDDM.


Linux, street photography and Baroque music enthusiast.

Offline

#3 2016-10-12 14:20:05

jlmeker
Member
Registered: 2016-10-12
Posts: 1

Re: Solved-warning: directory permissions on /usr/share/polkit-1/rules.d/

I echo the post of cribari.  I'm running Antergos, but (to no surprise) I got the same permission warning, fixed it and could no longer log in via lightdm-webkit2-greeter.  Turned off lightdm and ran startx (after setting up .xinitrc) instead.  Everything works fine.  I'll test setting the permissions back to see if that helps.  I should add that my USB mouse and touchpad worked fine, just couldn't type (USB keyboard or built-in keyboard).  I'm on a 2015 Macbook.


**Update** Reverting permissions to 750 didn't help at all.

Last edited by jlmeker (2016-10-12 14:50:29)

Offline

#4 2016-10-13 13:36:13

Phosphero
Member
Registered: 2016-07-18
Posts: 2

Re: Solved-warning: directory permissions on /usr/share/polkit-1/rules.d/

I also ran into the same thing on antergos.  Mouse interaction works fine, but lightdm doesn't respond to any keyboard input. It's not just the password field.  If I wait for a while, about 5-10 minutes, then it responds like it should.  TTY switching etc works fine.

Offline

#5 2016-10-13 16:58:20

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Solved-warning: directory permissions on /usr/share/polkit-1/rules.d/

Going on the consensus in here, this is an Antegros not an Arch issue: https://wiki.archlinux.org/index.php/Co … pport_ONLY


Closing -- for deletion


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#6 2016-10-14 12:36:53

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,864
Website

Re: Solved-warning: directory permissions on /usr/share/polkit-1/rules.d/

Mod note: Restoring to pacman/upgrade issues on appeal, as OP says he is not using Antergos.

As gupnp-av doesn't contain the directory in question, this package shouldn't have caused the warning message. Please post your pacman.log, as well as the output of

pacman -Qo /usr/share/polkit-1/rules.d/

Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#7 2016-10-14 13:28:28

leosanvieira
Member
Registered: 2016-04-21
Posts: 26

Re: Solved-warning: directory permissions on /usr/share/polkit-1/rules.d/

WorMzy, thanks for answering.

You're right, i misinterpreted the log when i thought the warning's origin was gupnp-av upgrade when it was obviously not, i have the whole transaction log if you want but it's 140 lines long, so i posted what i think is relevant by proximity. Please, tell me a way to send the whole log if you deem necessary.

pacman -Qo /usr/share/polkit-1/rules.d/
/usr/share/polkit-1/rules.d/ belongs to gnome-control-center 3.22.1-1
/usr/share/polkit-1/rules.d/ belongs to gvfs 1.30.1-2
/usr/share/polkit-1/rules.d/ belongs to packagekit 1.1.4-1
/usr/share/polkit-1/rules.d/ belongs to polkit 0.113-4

[2016-10-12 09:13] [ALPM] upgraded gupnp-av (0.12.8-1 -> 0.12.9-1)
[2016-10-12 09:13] [ALPM] warning: directory permissions differ on /usr/share/polkit-1/rules.d/
[2016-10-12 09:13] [ALPM] upgraded gvfs (1.28.3-1 -> 1.30.1-1)
[2016-10-12 09:13] [ALPM] upgraded gvfs-afc (1.28.3-1 -> 1.30.1-1)
[2016-10-12 09:13] [ALPM] upgraded gvfs-goa (1.28.3-1 -> 1.30.1-1)
[2016-10-12 09:13] [ALPM] upgraded gvfs-google (1.28.3-1 -> 1.30.1-1)
[2016-10-12 09:13] [ALPM] upgraded gvfs-gphoto2 (1.28.3-1 -> 1.30.1-1)
[2016-10-12 09:13] [ALPM] upgraded gvfs-mtp (1.28.3-1 -> 1.30.1-1)
[2016-10-12 09:13] [ALPM] upgraded gvfs-nfs (1.28.3-1 -> 1.30.1-1)
[2016-10-12 09:13] [ALPM] upgraded gvfs-smb (1.28.3-1 -> 1.30.1-1)

I download gvfs package manually to check on it's rules.d directory permission, not different as you can see:

ls -ld gvfs-1.30.1-2-x86_64.pkg/usr/share/polkit-1/rules.d/
drwxr-x--- 2 xxx xxx 4096 out 12 13:39 gvfs-1.30.1-2-x86_64.pkg/usr/share/polkit-1/rules.d/
ls -ld /usr/share/polkit-1/rules.d/
drwxr-x--- 2 root polkitd 4096 out 12 15:53 /usr/share/polkit-1/rules.d/

Offline

#8 2016-10-14 13:45:03

apg
Developer
Registered: 2012-11-10
Posts: 211

Re: Solved-warning: directory permissions on /usr/share/polkit-1/rules.d/

leosanvieira wrote:

[2016-10-12 09:13] [ALPM] warning: directory permissions differ on /usr/share/polkit-1/rules.d/
[2016-10-12 09:13] [ALPM] upgraded gvfs (1.28.3-1 -> 1.30.1-1)
[...
ls -ld gvfs-1.30.1-2-x86_64.pkg/usr/share/polkit-1/rules.d/
drwxr-x--- 2 xxx xxx 4096 out 12 13:39 gvfs-1.30.1-2-x86_64.pkg/usr/share/polkit-1/rules.d/

That is not the same version of the package that gave you the warning...

Offline

#9 2016-10-14 13:45:55

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,864
Website

Re: Solved-warning: directory permissions on /usr/share/polkit-1/rules.d/

The transaction just alerted you to an existing permissions discrepancy, it didn't cause it. We need the full pacman.log to try and understand how the discrepancy came to be. Please use a pastebin to upload the full file.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#10 2016-10-14 13:53:42

apg
Developer
Registered: 2012-11-10
Posts: 211

Re: Solved-warning: directory permissions on /usr/share/polkit-1/rules.d/

No need for the log; the previous version of that package just had different permissions for that directory. 1.30.1-2 changed it back to 750.

Offline

#11 2016-10-14 13:58:27

leosanvieira
Member
Registered: 2016-04-21
Posts: 26

Re: Solved-warning: directory permissions on /usr/share/polkit-1/rules.d/

Yes, apg is right. I downloaded the correct version of the package from the archive and:

ls -ld gvfs-1.30.1-1-x86_64.pkg/usr/share/polkit-1/rules.d/
drwxr-xr-x 2 xxx xxx 4096 out 10 12:30 gvfs-1.30.1-1-x86_64.pkg/usr/share/polkit-1/rules.d/

So it was the package after all and it has already been corrected.

Solved, i'd say.

Thanks.

Last edited by leosanvieira (2016-10-14 14:01:26)

Offline

Board footer

Powered by FluxBB