You are not logged in.

#1 2014-11-04 16:00:25

quiqueck
Member
Registered: 2013-04-15
Posts: 94

[solved] upgrade cups: folder rights differs from package

Hi,

after an upgrade to cups-2.0.0-2-x86_64 pacman warn me about different rights on filesystem and package:

warning: directory permissions differ on /var/cache/cups/
filesystem: 775  package: 770

I don't know, what rights are the right ones, or what causes this warning, because older cups-upgrades do not show this warning.

$ ls -l /var/cache/
total 28
drwxrwxr-x  3 root lp   4096 Oct 31 14:38 cups
[...]

Last edited by quiqueck (2014-11-05 15:25:46)

Offline

#2 2014-11-05 13:41:40

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,086

Re: [solved] upgrade cups: folder rights differs from package

always use the permissions given for package.

The 770 is more restrictive (it limits access owner and group members only) , while 775 is much  more permissive and could cause security issues.

you can use a filemanger like midnight commander to change the folde rpermissions, or use chown .


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#3 2014-11-05 15:05:25

ratcheer
Member
Registered: 2011-10-09
Posts: 924

Re: [solved] upgrade cups: folder rights differs from package

I got the same message when I installed the new CUPS. I ignored it.

Tim

Offline

#4 2014-11-05 15:12:16

alphaniner
Member
From: Ancapistan
Registered: 2010-07-12
Posts: 2,810

Re: [solved] upgrade cups: folder rights differs from package

@quiqueck: You can use the -d flag to display a directory rather than its contents:

$ ls -ld /var/cache/cups
drwxrwx--- 3 root lp 4096 Nov  5 09:28 /var/cache/cups

Just FYI. I've been using Linux for years and only recently figured this out! <facepalm>


But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner

Offline

#5 2014-11-05 15:25:24

quiqueck
Member
Registered: 2013-04-15
Posts: 94

Re: [solved] upgrade cups: folder rights differs from package

Thanks for your replys.

I changed the rights with:

# chmod 770 /var/cache/cups/

:-)

Offline

Board footer

Powered by FluxBB