Home CentOS7 CentOS7 폴더 파일 권한 변경

CentOS7 폴더 파일 권한 변경

by maxblog
0 comment
폴더권한 하위까지 755로 변경
find ./ -type  d -exec chmod 755 {} \;

파일권한 하위까지 644로 변경
find ./ -type f -exec chmod 644 {} \;

주로 간단한 파일 권한변경은 fileZilla에서 자주하지만
많은 양의 권한변경을 하려면 시간도 한참걸리고 그런 멍청한 짓이 없다.
CentOS7에서 위 코드를 이용해서 한방에 변경하면 된다.

설마 몇만개 파일권한 변경을 fileZilla에서 하는 일이 없기를…ㅋ
나도 전엔 그랬다..ㅠㅠ..

가끔 방법을 알면 10시간 걸릴것을 단 몇분에 되게하는 일도 있다.
Thank you. 😀

좋아할만한 추천 글

Leave a Comment

Soledad is the Best Newspaper and Magazine WordPress Theme with tons of options and demos ready to import. This theme is perfect for blogs and excellent for online stores, news, magazine or review sites.

Buy Soledad now!

Edtior's Picks

Latest Articles

ⓒ 2023.  FUNCOM all rights reserved.