cupsd can't access /var/log/cups/error_log permission denied
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cupsys (Ubuntu) |
Fix Released
|
High
|
Martin Pitt | ||
Dapper |
Invalid
|
High
|
Martin Pitt |
Bug Description
Binary package hint: cupsys
dapper release. The subject line appears in /var/log/syslog
repeatedly. Looking at the files in /var/log/cups/ :
drwxr-xr-x 2 root root 4096 2006-07-27 06:25 .
drwxr-xr-x 6 root root 4096 2006-07-27 06:25 ..
-rw-r--r-- 1 cupsys lp 21981 2006-07-27 14:27 access_log
-rw-r--r-- 1 cupsys lp 2253 2006-07-24 15:10 access_log.1.gz
-rw-r--r-- 1 cupsys lp 2498 2006-07-20 16:01 access_log.2.gz
-rw-r--r-- 1 root lp 3146700 2006-07-27 13:51 error_log
-rw-r--r-- 1 root lp 40473 2006-07-26 09:31 error_log.1.gz
-rw-r--r-- 1 root lp 40469 2006-07-25 09:31 error_log.2.gz
-rw-r--r-- 1 root lp 256199 2006-07-24 18:21 error_log.3.gz
-rw-r--r-- 1 cupsys lp 38898 2006-07-24 06:24 error_log.4.gz
-rw-r--r-- 1 cupsys lp 38914 2006-07-23 06:24 error_log.5.gz
-rw-r--r-- 1 cupsys lp 39081 2006-07-22 06:24 error_log.6.gz
-rw-r--r-- 1 cupsys lp 171024 2006-07-21 06:24 error_log.7.gz
-rw-r--r-- 1 cupsys lp 372 2006-07-27 14:23 page_log
-rw-r--r-- 1 cupsys lp 113 2006-07-24 14:42 page_log.1.gz
Note the root ownership of the file error_log. Note if one does
a chown it just gets switched back to root ownership of cups
gets restarted.... another consequence of running cupsd as
cupsys I suppose...sigh
Changed in cupsys: | |
importance: | Untriaged → High |
I just noticed the same thing, see relevant part of my /var/log/syslog in attachment.
Confirming this bug.