Bug 156828 - cupsd changes /dev/null permissions if AccessLog set to that
Summary: cupsd changes /dev/null permissions if AccessLog set to that
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: cups   
(Show other bugs)
Version: 4.0
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
: ---
Assignee: Tim Waugh
QA Contact:
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-05-04 15:28 UTC by Ed Tinnel
Modified: 2007-11-30 22:07 UTC (History)
0 users

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


Attachments (Terms of Use)

Description Ed Tinnel 2005-05-04 15:28:29 UTC
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-1.1.3.4

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):
cups-1.1.17-13.3.27

How reproducible:
Always

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 15:50:59 UTC
"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.