Linux.com

Home Linux Community Forums Software Installation installing ovftool from vmware

installing ovftool from vmware

Link to this post 24 Jan

# ./VMware-ovftool-3.5.0-1274719-lin.x86_64.bundle
Extracting VMware Installer...done.
./VMware-ovftool-3.5.0-1274719-lin.x86_64.bundle: line 302: /tmp/vmis.F8TC6L/install/vmware-installer/vmware-installer: Permission denied

I am root using 'sudo su' on rhel 6

Link to this post 7 days ago

Is your /tmp or /var/tmp partition mounted noexec ?
I was getting the same error before I remounted the partition

execute mount command


# mount
....
/dev/mapper/hostvg-tmp on /tmp type ext3 (rw,noexec,nosuid,nodev)
....

if you see noexec attriibute next to your tmp partition you need to remount it executable


mount -o remount,exec /tmp

This may not always work if you have something running on your system that keeps open files on the /tmp partition ( eg MySQL server often does that ), you can try to mount it exec on boot

# vi /etc/fstab

remove noexec attibute in the line

/dev/mapper/hostvg-tmp /tmp ext3 defaults,nodev,nosuid,noexec

and reboot your system

Note that mounting /tmp noexec is actually security related

Link to this post 5 days ago

ladowny said:

Is your /tmp or /var/tmp partition mounted noexec ?
I was getting the same error before I remounted the partition

execute mount command

# mount
....
/dev/mapper/hostvg-tmp on /tmp type ext3 (rw,noexec,nosuid,nodev)
....


if you see noexec attriibute next to your tmp partition you need to remount it executable

mount -o remount,exec /tmp

This may not always work if you have something running on your system that keeps open files on the /tmp partition ( eg MySQL server often does that ), you can try to mount it exec on boot

# vi /etc/fstab

remove noexec attibute in the line

/dev/mapper/hostvg-tmp /tmp ext3 defaults,nodev,nosuid,noexec


and reboot your system

Note that mounting /tmp noexec is actually security related

This is an interesting case. Do you think that mounting a folder with noexec prevents files from executing if they must be ran?

Who we are ?

The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.

More About the foundation...

Frequent Questions

Join / Linux Training / Board