
파일을 chmod하고 싶지만 다른 "사용자"/"그룹"에 영향을 주지 않도록 하고 싶습니다.
예를 들어 루트 0을 제공합니다.
before 741
chmod 0** [filename]
after 041
또는 그룹에 7을 제공하십시오
before 741
chmod *7* [filename]
after 771
어쨌든 이걸 하려고?
답변1
+
다음 과 같은 기호 표현을 사용할 수 있습니다 -
.
chmod u-rwx # remove rwx permissions from user
또는
chmod g+rwx # add rwx permissions to group