정말 이거 몰랐음 큰일날뻔했어요


find ./ -type d -exec chmod 777 {} \;

find ./ -type f -exec chmod 777 {} \;

./는 현재위치 d는 폴더 f는 파일


find ./ -type d -exec chown 유저 {} \;

find ./ -type f -exec chown 유저 {} \;


출처 : ㄳㅇ

'IT > LINUX' 카테고리의 다른 글

redhat 다운로드 부터시작  (0) 2013.11.06
/bin/sh^M: bad interpreter:  (0) 2013.10.29
ps -ef | grep http  (0) 2013.10.24
웹서버 설치하기  (0) 2013.09.01
아파치 서버 설치  (0) 2013.08.23

+ Recent posts