我想安装vmware-tools,却提示权限不够
在linux安装vmware tools,在终端机输入以下命令:
[root@localhost ~]# cd /tmp/vmware-tools-distrib
[root@localhost vmware-tools-distrib]# ./vmware-install.pl
bash: ./vmware-install.pl: 权限不够
[root@localhost vmware-tools-distrib]# chmod +x ./vmware-install.pl
[root@localhost vmware-tools-distrib]# ./vmware-install.pl
Creating a new VMware Tools installer database using the tar4 format.
Installing VMware Tools.
In which directory do you want to install the binary files?
[/usr/bin]
What is the directory that contains the init directories (rc0.d/ to rc6.d/)?
[/etc/rc.d]
What is the directory that contains the init scripts?
[/etc/rc.d/init.d]
In which directory do you want to install the daemon files?
[/usr/sbin]
In which directory do you want to install the library files?
[/usr/lib/vmware-tools]
The path "/usr/lib/vmware-tools" does not exist currently. This program is
going to create it, including needed parent directories. Is this what you want?
[yes] yes
In which directory do you want to install the documentation files?
[/usr/share/doc/vmware-tools]
The path "/usr/share/doc/vmware-tools" does not exist currently. This program
is going to create it, including needed parent directories. Is this what you
want? [yes] yes
The installation of VMware Tools 6.0.4 build-93057 for Linux completed
successfully. You can decide to remove this software from your system at any
time by invoking the following command: "/usr/bin/vmware-uninstall-tools.pl".
Before running VMware Tools for the first time, you need to configure it by
invoking the following command: "/usr/bin/vmware-config-tools.pl". Do you want
this program to invoke the command for you now? [yes] yes
sh: /usr/bin/vmware-config-tools.pl: 权限不够
请问怎样才能安装啊?
[解决办法]
sh: /usr/bin/vmware-config-tools.pl: 权限不够
请问怎样才能安装啊?
---------------
你手动执行
sudo chmod +x /usr/bin/vmware-config-tools.pl
sudo /usr/bin/vmware-config-tools.pl
[解决办法]
补充,如果权限还不行,就root
[解决办法]
我就是用root啦
[解决办法]