Bug 221380 - wrong permissions on cjkv directory
Summary: wrong permissions on cjkv directory
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: ghostscript
Version: 6
Hardware: All
OS: Linux
medium
high
Target Milestone: ---
Assignee: Tim Waugh
QA Contact:
URL:
Whiteboard:
: 222375 (view as bug list)
Depends On:
Blocks: FC6Update
TreeView+ depends on / blocked
 
Reported: 2007-01-04 09:02 UTC by Penelope Fudd
Modified: 2014-01-21 22:56 UTC (History)
2 users (show)

Fixed In Version: 8.15.3-3.fc6
Clone Of:
Environment:
Last Closed: 2007-01-18 18:18:41 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
/var/log/rpmpkgs, the list of installed packages as of last night. (41.03 KB, text/plain)
2007-01-06 23:30 UTC, Penelope Fudd
no flags Details
/var/log/yum.log, from the 'dawn of time' until now. (24.50 KB, text/plain)
2007-01-06 23:34 UTC, Penelope Fudd
no flags Details

Description Penelope Fudd 2007-01-04 09:02:28 UTC
Description of problem:
Printing stopped working for everything except 'gimp'.

Version-Release number of selected component (if applicable):
ghostscript-8.15.3-1.fc6.i386.rpm

How reproducible:
Every time

Steps to Reproduce:
1. lpr tiger.eps
2.
3.
  
Actual results:
Printer doesn't print

Expected results:
Printer does print

Additional info:
The problem is caused because the directory /usr/share/ghostscript/8.15/lib/cjkv
has the wrong permissions (700 instead of 755).  chmod fixed the problem.

Also, I seem to have two rpms for ghostscript:
ghostscript-8.15.2-8.1.i386.rpm
ghostscript-8.15.3-1.fc6.i386.rpm

No idea why.  I'm using the yum auto-updating daemon.

Comment 1 Tim Waugh 2007-01-05 14:58:58 UTC
I expect the conflicting RPM packages is the reason, but why they would be like
that I don't know.

Comment 2 Jeremy Katz 2007-01-05 17:02:34 UTC
Did you have a yum update fail at some point?

Comment 3 Penelope Fudd 2007-01-06 23:28:18 UTC
The yum log doesn't have a record of any failure, and it does have a record of
ghostscript being updated on Dec 20th at 3:25am.  This system was a fresh
install of FC6 on Dec 19, 2006.

The only thing I can think of is that I set the umask for root to be 77 on all
of my systems, and the update at 3:25am was part of the system-wide initial
update, not an automatic yum update, so the umask would have been in effect. 
This would have created the directory with the faulty permissions.  It doesn't
explain the duplicates.

I'm looking at the rpm package list, and I'm seeing a lot of duplicates.  I'm
attaching it and the yum log file. 

Comment 4 Penelope Fudd 2007-01-06 23:30:35 UTC
Created attachment 144987 [details]
/var/log/rpmpkgs, the list of installed packages as of last night.

This contains duplicates; see GConf2, Gconf2-devel, ImageMagick, ORBit2, etc,
etc.  Ghostscript was the one that inspired this search.

Comment 5 Penelope Fudd 2007-01-06 23:34:33 UTC
Created attachment 144988 [details]
/var/log/yum.log, from the 'dawn of time' until now.

The system was installed Dec 19th, if the date of /dev/modprobe.conf is to be
believed.

Comment 6 Penelope Fudd 2007-01-06 23:36:51 UTC
Er, dev -> etc.

Comment 7 Tim Waugh 2007-01-12 14:51:42 UTC
Ah, I think I might have found it: the ghostscript package doesn't own that cjkv
directory.

Comment 8 Tim Waugh 2007-01-12 14:52:52 UTC
*** Bug 222375 has been marked as a duplicate of this bug. ***

Comment 9 Kevin R. Page 2007-01-13 18:33:29 UTC
I've experienced this problem with a LaserJet 5L on an FC6; rectifying the
permissions allows me to print again.

Just to note, in case it's relevant, that I don't have any conflicting
ghostscript packages - only ghostscript-8.15.3-1.fc6.

"file /usr/share/ghostscript/8.15/lib/cjkv is not owned by any package"

It's on a system that's been upgraded many times (RHL through FC, if I recall
correctly).

Comment 10 Penelope Fudd 2007-01-13 21:23:41 UTC
As an aside, I fixed the duplicate packages (all 50+ of them) with the Smart
program, a free replacement for yum.  Just typed 'smart check' to see the
duplicates, and 'smart fix' to fix them.  (See http://labix.org/smart)


Comment 11 Fedora Update System 2007-01-18 17:20:45 UTC
Fixed in update: ghostscript-8.15.3-3.fc6


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