- 论坛徽章:
- 0
|
本帖最后由 yawsh 于 2014-04-29 10:33 编辑
回复 2# asdf2110
$ id
uid=1000(yawsh) gid=1000(yawsh) 组=1000(yawsh),1(bin),2(daemon),3(sys),4(adm),5(tty),6(disk),7(lp),10(wheel),11(floppy),17(console),18(audio),19(cdrom),26(tape),27(video),80(cdrw),85(usb),100(users)
$ file ./hello
./hello: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.9, not stripped
$ chmod 777 ./hello
$ ls -l hello
-rwxrwxrwx 1 yawsh yawsh 6715 4月 28 16:49 hello
$ ldd hello
ldd: 警告: 你没有执行权限 `./hello'
不是动态可执行文件
$ ./hello
bash: ./hello: 权限不够 |
|