Bug 43216 - directory /usr/share is owned by this package
Summary: directory /usr/share is owned by this package
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Raw Hide
Classification: Retired
Component: kdegraphics
Version: 1.0
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Bernhard Rosenkraenzer
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-06-01 21:28 UTC by Enrico Scholz
Modified: 2008-05-01 15:38 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2001-06-01 21:28:33 UTC
Embargoed:


Attachments (Terms of Use)

Description Enrico Scholz 2001-06-01 21:28:29 UTC
[ created by { cat bug #43171 | sed 's!kdegames!kdegraphics!g' ; }  ;)   ]

Description of Problem:

The directory /usr/share is owned by this package which leads to an
installation-error if /usr/share is ro-mounted (e.g. via NFS):

| $ rpm -U /usr/src/redhat/RPMS/i386/kdegraphics-2.2-0.alpha2.1.i386.rpm
| error: unpacking of archive failed on file /usr/share: cpio: chown failed
- Read-only file system

Although this symptom is caused by an rpm error (see bug #26561), it is a
kdegraphics issue because no package (except filesystem) should own
/usr/share.

kdegraphics owns other directories also which should not be owned by normal
packages:

$ rpm -ql kdegraphics
...
/usr/bin
/usr/include
/usr/lib
/usr/share
/usr/share/doc


Steps to Reproduce:
1.  mount -o remount,ro /usr/share
2.  echo '%_netsharedpath /usr/share' >>/etc/rpm/macros
3.  rpm -U /usr/src/redhat/RPMS/i386/kdegraphics-2.2-0.alpha2.1.i386.rpm

Actual Results:

error: unpacking of archive failed on file /usr/share: cpio: chown failed -
Read-only file system

Expected Results:

installed kdegraphics


Additional Information:
	
$ rpm -q rpm
rpm-4.0.2-8

Comment 1 Bernhard Rosenkraenzer 2001-08-10 17:00:05 UTC
This was fixed quite a while ago, just forgot to close the bug report ;)



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