分页: 1 / 1

求助:编译能通过但不能执行 出现下面的错误

发表于 : 2008-12-17 11:09
sky345824266
程序肯定没问题 是自带的 hello word
EXECUTING:
/home/cbc/test/src/main.cc
----------------------------------------------
/home/cbc/test/src/main.cc: 1: /bin: Permission denied
/home/cbc/test/src/main.cc: 1: indent-tabs-mode:: not found
/home/cbc/test/src/main.cc: 1: c-basic-offset:: not found
/home/cbc/test/src/main.cc: 1: tab-width:: not found
/home/cbc/test/src/main.cc: 2: /bin: Permission denied
/home/cbc/test/src/main.cc: 3: Makefile: not found
/home/cbc/test/src/main.cc: 4: Syntax error: "(" unexpected

----------------------------------------------
Program exited successfully with errcode (2)
Press the Enter key to close this terminal ...

Re: 求助:编译能通过但不能执行 出现下面的错误

发表于 : 2008-12-18 13:05
EricFisher
>Permission denied

权限问题?

Re: 求助:编译能通过但不能执行 出现下面的错误

发表于 : 2008-12-25 19:03
sky345824266
EricFisher 写了:>Permission denied

权限问题?
说下权限问题怎么回事 ,创建者创建的文件不没有执行权限 ,还要用chmod 来修改 :em20 :em20 :em20 :em20