I tried to install rpm file in RHEL-7.4 Linux using:
# rpm -i xxx.rpm
/var/tmp/rpm-tmp.5WIuFR: line 9: /etc/init.d/xxx-driver: Permission denied
What is this error and how to resolve it?
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It only takes a minute to sign up.
Sign up to join this communityI tried to install rpm file in RHEL-7.4 Linux using:
# rpm -i xxx.rpm
/var/tmp/rpm-tmp.5WIuFR: line 9: /etc/init.d/xxx-driver: Permission denied
What is this error and how to resolve it?
The package is executing a pre- or post-install script in /var/tmp/rpm-tmp.5WIuFR
; on line 9 of that script, it is attempting to execute /etc/init.d/xxx-driver
, but that latter file does not have execute permissions set.
rpm
command? – Jeff Schaller♦ May 22 '19 at 13:39