Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个没有在 ubuntu 中运行的法官,我认为它是用 C 和 Java 编写的,其中 C 程序是为父子生成过程编写的,由于以下错误,代码无法运行:
./client:Permission denied ./client:Permission denied
我怎么解决这个问题??
chmod +x client
将执行模式添加到您的应用程序
如果您的程序是用 C 编写的,那么您可以尝试chmod +x client, 然后./client执行它。
./client
如果您的程序是用 Java 编写的,那么您应该使用chmod +x client, thenjava client来执行它。
java client
chmod 777 ./client
这将允许任何用户执行。