bash: ./my-install.sh: Permission denied ---solved

来源:互联网 发布:mac 接口压力测试工具 编辑:程序博客网 时间:2024/06/05 16:50
      1. bash 权限不够问题 
解决方法:
因为你的文件没有执行权限,所以会这样chmod a+x my-install.sh 把执行权限给他应该就可以执行了
     2.chmod:chmod - change file mode bits
          This manual page documents the GNU version of chmod.  chmod changes the       file mode bits of each given file  according  to  mode,  which  can  be       either a symbolic representation of changes to make, or an octal number       representing the bit pattern for the new mode bits.
          The full documentation for chmod is maintained as a Texinfo manual.  If       the  info  and  chmod programs are properly installed at your site, the       command  info coreutils 'chmod invocation'  should give you access to the complete manual.
     3.Permission denied(权限不够)
0 0