find . -type d -exec chmod 755 {} \;
This will recursively search your directory tree (starting at dir ‘dot’) and chmod 755 all directories only.
Similarly, the following will chmod all files only (and ignore the directories):
find . -type f -exec chmod 644 {} \;
'Linux' 카테고리의 다른 글
| [CentOS] SVN 설정하기 (1) | 2009/08/17 |
|---|---|
| [CentOS] Apache 2.2 + Tomcat 6.0.X 연동하기. (1) | 2009/08/17 |
| [CentOS] Apache 설치하기. (2) | 2009/08/14 |
| [CentOS] SSH 설정 하기. (0) | 2009/08/14 |
| [CentOS] 설치시 영어로 설정 하였을 경우 한글 설정하기. (2) | 2009/08/12 |
| [OS] 리눅스 권한 변경 (0) | 2008/01/09 |