Welcome to the Linux Foundation Forum!

installing ovftool from vmware

# ./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

Comments

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

    execute mount command
    1. # mount
    2. ....
    3. /dev/mapper/hostvg-tmp on /tmp type ext3 (rw,noexec,nosuid,nodev)
    4. ....

    if you see noexec attriibute next to your tmp partition you need to remount it executable
    1. 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
    1. # vi /etc/fstab
    remove noexec attibute in the line
    1. /dev/mapper/hostvg-tmp /tmp ext3 defaults,nodev,nosuid,noexec

    and reboot your system

    Note that mounting /tmp noexec is actually security related
  • ladowny wrote:
    Is your /tmp or /var/tmp partition mounted noexec ?
    I was getting the same error before I remounted the partition

    execute mount command
    1. # mount
    2. ....
    3. /dev/mapper/hostvg-tmp on /tmp type ext3 (rw,noexec,nosuid,nodev)
    4. ....

    if you see noexec attriibute next to your tmp partition you need to remount it executable
    1. 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
    1. # vi /etc/fstab
    remove noexec attibute in the line
    1. /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?

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Categories

Upcoming Training