当前位置: 首页 > 工具软件 > bash.py > 使用案例 >

bash: ./xxx 权限不够

钮轩昂
2023-12-01

Linux环境下要运行C编译的一个可执行文件play,终端cd到当前目录后输入./play,提示  bash: ./xxx 权限不够

用sudo, 提示 sudo:./play: command not found


排查过后,本机装的是双系统,运行的文件放在了Windows分区。。。虽然Linux下看得到但权限是没有哒。

于是copy到Linux分区里,重新编译就可以运行了~

转载于:https://www.cnblogs.com/zuozuolearning/p/7666168.html

 类似资料: