https://superuser.com/questions/91935/how-to-recursively-chmod-all-directories-except-files/91938#91938


폴더(디렉토리)만 755 퍼미션으로 변경하기

find /path/to/base/dir -type d -exec chmod 755 {} +


파일 만 644 퍼미션으로 변경하기

find /path/to/base/dir -type f -exec chmod 644 {} +





+ Recent posts