Sherry IT Blog

[리눅스] 파일 퍼미션 그룹 변경 명령어 본문

Linux

[리눅스] 파일 퍼미션 그룹 변경 명령어

sherrylover 2021. 11. 9. 14:07
728x90
반응형


chmod : 파일 퍼미션 변경
ex ) chmod 755 test.txt

chown : 파일 소유자나 소유그룹을 변경하기 위한 명령어
ex) chown admin:group test.txt
       sudo chown admin test.txt
       chown [옵션] [소유자:소유자그룹] [파일명]

chgrap  : 파일의 사용자 그룹변경
ex) chgrap group1 test.txt
      chgrap [옵션] [그룹] [파일]

728x90
반응형
Comments