Bug 16264 - cups ppd permissions borked again
Summary: cups ppd permissions borked again
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: x86_64 Linux
Priority: Normal major
Target Milestone: ---
Assignee: Thierry Vignaud
QA Contact:
Keywords: NEEDINFO
Depends on:
Blocks: 18367
  Show dependency treegraph
Reported: 2015-07-01 13:20 CEST by Frank Griffin
Modified: 2016-11-01 14:05 CET (History)
2 users (show)

See Also:
Source RPM: cups
Status comment:


Description Frank Griffin 2015-07-01 13:20:34 CEST
The files in /etc/cups/ppd are created root:sys and rw-r-----.  When you try to print, cups writes error messages saying that it can't open these files.  If you change the perms to 777, it works fine.

This keeps happening to cups periodically, usually with permissions on USB devices that are created via dbus, but in this case with the ppd files.  cups changes the uid under which it runs, and the perms on ancillary files don't get changed to reflect this.


Steps to Reproduce:
Comment 1 David Walser 2015-07-01 17:33:41 CEST
777 permissions are most certainly incorrect and just asking for trouble!

I get root:sys 644 on the files in that directory, which is correct.  On a system in msec secure mode I see root:root 644 in there instead, which should also be fine.

What exactly is creating files with those permissions on your system?  Have you changed any umask settings?
Marja Van Waes 2016-05-05 10:22:15 CEST

Blocks: (none) => 18367

Comment 2 Marja Van Waes 2016-08-10 19:41:19 CEST
On the 25th of July, Phillipem uploaded the following packages to 
Cauldron's core/updates_testing:




@ Anyone reading this:

* If this bug is valid for you in cauldron, then please test whether updating your system-config-printer packages to version 1.5.7-5.mga6 fixes the problem and report back in this bug report.

* If you do not have this bug in cauldron, but you do run cauldron, then please update those packages, too, and report in bug 18367 whether they work as expected.

CC: (none) => makowski.mageia, marja11

Comment 3 Samuel Verschelde 2016-11-01 13:28:05 CET
Frank, please answer comment 1 and comment 2. Thanks!

Keywords: (none) => NEEDINFO

Comment 4 Samuel Verschelde 2016-11-01 13:29:07 CET
Assigning to cups maintainer Thierry Vignaud. Please reassign if needed.

Assignee: bugsquad => thierry.vignaud

Comment 5 Frank Griffin 2016-11-01 14:05:14 CET
Closing as FIXED, because on a fresh install the ownership of these files is back to root:lp as it should be.

Resolution: (none) => FIXED

Note You need to log in before you can comment on or make changes to this bug.