Red Hat Bugzilla – Bug 45327
bad package if built as non-root
Last modified: 2008-05-01 11:38:00 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.
Steps to Reproduce:
1. become an ordinary user
2. rpm --rebuild kbd-1.06-1.src.rpm
- a lot of "install: cannot change ownership ..." messages in the %install
- missing files or files on bad locations (loadkey)
- bad permissions (all files in /usr/bin/* are 0600)
initscripts makes wrong assumptions about the place of loadkeys also:
| [ -f /usr/bin/loadkeys ] || exit 0
loadkeys is in /bin.
Fixed in 1.06-2