Provided by: manpages-ko_4.27.0-1_all bug

이름

       chown - 파일의 소유주와 그룹을 바꾼다.

요약

       chown [옵션]... [소유자][:[그룹]] 파일...
       chown [옵션]... --reference=참조파일 파일...

설명

       This  manual  page  documents the GNU version of chown.  chown changes the user and/or group ownership of
       each given file.  If only an owner (a user name or numeric user ID) is given, that user is made the owner
       of each given file, and the files' group is not changed.  If the owner is followed by a colon and a group
       name (or numeric group ID), with no spaces between them, the group ownership of the files is  changed  as
       well.   If  a colon but no group name follows the user name, that user is made the owner of the files and
       the group of the files is changed to that user's login group.  If the colon and group are given, but  the
       owner  is omitted, only the group of the files is changed; in this case, chown performs the same function
       as chgrp.  If only a colon is given, or if the entire operand is empty, neither the owner nor  the  group
       is changed.

옵션

파일의  소유자와(또는)  그룹을 소유자그룹으로 바꿉니다. --reference 옵션을 주면 각 파일의 소유자와
       그룹을 참조파일 의 소유자와 그룹으로 바꿉니다.

       -c, --changes
              자세한 출력 모드와 같지만 바뀐 내용이 있을 때만 알립니다

       -f, --silent, --quiet
              대부분의 오류메시지를 숨깁니다

       -v, --verbose
              처리되는 모든 파일에 대해 진단 메시지를 출력합니다

       --dereference
              심볼릭 링크 자체에 영향을 주기보다는, 각 심볼릭 링크의 참조에 영향을 줍니다(기본값)

       -h, --no-dereference
              참조 파일 대신 심볼릭  링크에  영향을  줍니다  (심볼릭  링크  소유권을  바꿀  수  있는  시스템에만
              해당합니다)

       --from=현재_소유자:현재_그룹
              change  the  ownership  of  each file only if its current owner and/or group match those specified
              here. Either may be omitted, in which case a match is not required for the omitted attribute

       --no-preserve-root
              '/'를 특별하게 다루지 않습니다 (기본)

       --preserve-root
              '/' 경로의 하위 연속 처리 요청에 실패를 반환합니다

       --reference=참조파일
              use RFILE's ownership rather than specifying values.  RFILE is always dereferenced if  a  symbolic
              link.

       -R, --recursive
              하위 파일과 디렉터리도 처리합니다

       The  following options modify how a hierarchy is traversed when the -R option is also specified.  If more
       than one is specified, only the final one takes effect. -P is the default.

       -H     명령행 인자가 디렉터리 대상 심볼릭 링크라면 방문 진입합니다

       -L     확인한 모든 디렉터리 심볼릭 링크를 방문 진입 합니다

       -P     do not traverse any symbolic links

       --help 이 도움말을 표시하고 나갑니다

       --version
              버전 정보를 출력하고 나갑니다

       소유자 값이 빠지면 바뀌지 않습니다.  그룹 값이 빠지면 바뀌지 않지만 심볼릭  소유자  뒤에  ':'을  입력  후
       생략할 때는 바뀔 수 있습니다. 소유자그룹은 심볼릭 값일 수도 있고 숫자 값일 수도 있습니다.

폐제

       chown root /u
              /u 디렉터리의 소유자를 "root"로 바꿉니다.

       chown root:staff /u
              마찬가지이며, 또한 그룹을"staff"으로 바꿉니다.

       chown -hR root /u
              /u 디렉터리와 하위 파일의 소유자를 "root"로 바꿉니다.

저자

       David MacKenzie, Jim Meyering이(가) 작성함.

버그 보고

       GNU coreutils 온라인 도움말: <https://www.gnu.org/software/coreutils/>
       번역 버그는 <https://translationproject.org/team/ko.html>

추가 참조

       chown(2)

       완전한 문서 <https://www.gnu.org/software/coreutils/chown>
       또는 로컬 문서: info '(coreutils) chown invocation'

       Packaged by Debian (9.7-2)
       Copyright © 2025 Free Software Foundation, Inc.
       라이선스 GPLv3+: GNU GPL 버전 3 이상 <https://gnu.org/licenses/gpl.html>.
       이 프로그램은 자유 소프트웨어입니다: 자유롭게 바꾸고 재배포할 수 있습니다.
       법률이 허용하는 모든 범위내의 보증은 없습니다.

번역

       이 매뉴얼 페이지의 한국어 번역은 다음에 의해 편집되었습니다:

       이  번역은  무료  문서입니다. 저작권 조건에 대해서는 GNU General Public License 버전 3 이상을 읽으십시오.
       책임이 없습니다.

       이  매뉴얼  페이지의  번역에서   오류를   발견하면   translation-team-ko@googlegroups.com   로   이메일을
       보내주십시오.

GNU coreutils 9.7                                  2025년 4월                                           CHOWN(1)