linuxidc@ubuntu:~/linuxidc.com$ chmod 300 linuxidc/
linuxidc@ubuntu:~/linuxidc.com$ ls -l
total 4
d-wx------ 2 linuxidc linuxidc 4096 Feb 16 20:22 linuxidc
linuxidc@ubuntu:~/linuxidc.com$ ls -l linuxidc/
ls: cannot open directory 'linuxidc/': Permission denied
linuxidc@ubuntu:~/linuxidc.com$ cat linuxidc/uptime
20:22:23 up 13:22, 1 user, load average: 0.00, 0.08, 0.20
linuxidc@ubuntu:~/linuxidc.com$ touch linuxidc/linux
linuxidc@ubuntu:~/linuxidc.com$
备注:700=rwx, 400=r, 100=x, 200=w, 500=rx, 300=wx