리눅스/CentOS
[CentOS 7] 리눅스 chmod 심볼릭링크(symbolic link) 사용 소유권 제어, 파일 권한 설정 (chmod ugo)
안산드레아스
2020. 12. 3. 19:10
반응형
다음 권한을 심볼링링크로 변경시켜준다.
u : user g : group o : other
1. o-x : test파일의 other의 execute 권한을 빼라
chmod o-x test
2. ug-w : test파일의 user와 other의 write 권한을 빼라
chmod ug-w test
3. ugo-x : test파일의 user와 group과 other의 execute 권한을 모두 빼라
chmod ugo-x test
4. ug+x : test파일의 group과 other의 execute 권한을 넣어라
chmod go+x test
반응형