Bug 45327 - bad package if built as non-root
bad package if built as non-root
Status: CLOSED RAWHIDE
Product: Red Hat Raw Hide
Classification: Retired
Component: kbd (Show other bugs)
1.0
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Bernhard Rosenkraenzer
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2001-06-21 09:38 EDT by Enrico Scholz
Modified: 2008-05-01 11:38 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2001-06-21 20:53:23 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Enrico Scholz 2001-06-21 09:38:45 EDT
Description of Problem:

The install: rule of src/Makefile of kbd-1.06-1 tries to

| install -c -m 0755 -o root $(...

which fails as non-root. This results in missing files and a lot of files
with bad permissions.


How Reproducible:

evrytime

Steps to Reproduce:
1. become an ordinary user
2. rpm --rebuild kbd-1.06-1.src.rpm


Actual Results:

- a lot of "install: cannot change ownership ..." messages in the %install
stage
- missing files or files on bad locations (loadkey)
- bad permissions (all files in /usr/bin/* are 0600)
Comment 1 Enrico Scholz 2001-06-21 20:53:19 EDT
initscripts makes wrong assumptions about the place of loadkeys also:

|  [ -f /usr/bin/loadkeys ] || exit 0

loadkeys is in /bin.
Comment 2 Bernhard Rosenkraenzer 2001-06-25 05:40:07 EDT
Fixed in 1.06-2

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