You are not logged in.

#1 2020-04-29 15:36:18

Cbhihe
Member
Registered: 2017-04-09
Posts: 244

[SOLVED] Warning: /etc/sudoers.d/ directory permissions after upgrade

Hi, I just performed an upgrade with  $ sudo pacman -Syu,
where samba and smbclient were both upgraded to version 4.12.1-1-x86_64.

While upgrading smbclient, pacman displayed:

    > ( 8/16) upgrading smbclient                                             [########################################] 100%
    > New optional dependencies for smbclient
    >     python-dnspython: samba_dnsupdate and samba_upgradedns in AD setup

2 or 3 seconds later, as the upgrade process reached  samba, I got:

    > (14/16) upgrading samba                                                  [########################################] 100%
    > warning: directory permissions differ on /etc/sudoers.d/
    > filesystem: 750  package: 755
    > New optional dependencies for samba
    >     python-dnspython: samba_dnsupdate and samba_upgradedns in AD setup

I went to check my /etc/sudoers.d/ permission and nothing has changed. Directory /etc/sudoers.d/ has permission 440  while the one file inside has permission 644.
I use samba to print at my office's LAN printer, but I am at home under Corona-lockdown right now, so printing a test-page won't be possible for another 2 weeks give or take. 

I am more interested in understanding the warning. Is it smbclient specific and/or due to the change in dependencies shown ?
(Did not find any ref to that either `startpage' 'ing it or in the Arch forum.)

Last edited by Cbhihe (2020-04-29 16:43:04)


I like strawberries, therefore I'm not a bot.

Offline

#2 2020-04-29 16:19:13

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,381

Re: [SOLVED] Warning: /etc/sudoers.d/ directory permissions after upgrade

That warning relates to the actual files inside the package (and not necessarily smbclient specific, it can technically happen for any package). Optional dependencies are irrelevant here.  And yes pacman will not actively adjust them and rather print this warning, it shouldn't be inherently problematic.

Offline

#3 2020-04-29 16:42:17

Cbhihe
Member
Registered: 2017-04-09
Posts: 244

Re: [SOLVED] Warning: /etc/sudoers.d/ directory permissions after upgrade

Marking this as [Solved]. Thank you for the insight, @V1del.


I like strawberries, therefore I'm not a bot.

Offline

Board footer

Powered by FluxBB