Bug 156828 - cupsd changes /dev/null permissions if AccessLog set to that
cupsd changes /dev/null permissions if AccessLog set to that
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: cups (Show other bugs)
x86_64 Linux
medium Severity medium
: ---
: ---
Assigned To: Tim Waugh
Depends On:
  Show dependency treegraph
Reported: 2005-05-04 11:28 EDT by Ed Tinnel
Modified: 2007-11-30 17:07 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-05-04 11:50:59 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Ed Tinnel 2005-05-04 11:28:29 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.7.7) Gecko/20050427 Red Hat/1.7.7-

Description of problem:
In an effort to curtail the excessive logging of CUPS (noted elsewhere), the advice was to change AccessLog in cupsd.conf to be /dev/null.  If this is done, when cups is restarted, permissions on /dev/null will be changed to crw-r--r-- with owner lp:sys.  This is completely repeatable.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1./etc/init.d/cups stop
2.edit /etc/cups/cupsd.conf, change AccessLog to be /dev/null
3./etc/init.d/cups start


Actual Results:  assuming nothing else had changed it, /dev/null should be owned by root:root with permissions crw-rw-rw-; after the steps above, it will be lp:sys and crw-r--r--

Expected Results:  no permission changes on /dev/null

Additional info:
Comment 1 Tim Waugh 2005-05-04 11:50:59 EDT
"AccessLog /dev/null" should not be used.  Use just "AccessLog" on a line on its
own instead.

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