ファイルのアクセス権限を変更します。
構文
chmod [OPTION]... MODE FILE...使用例
下記の値を入力するとサンプルに即時反映されます。
chmod→file→txt→rw→script→sh→rwxr→xr→secret→key→go→# 숫자 방식
chmod 644 file.txt # rw-r--r--
chmod 755 script.sh # rwxr-xr-x
chmod 600 secret.key # rw-------
# 기호 방식
chmod u+x script.sh # 소유자에 실행 권한 추가
chmod go-w file.txt # 그룹·기타 쓰기 권한 제거