chown

CHOWN(1)                    General Commands Manual                   CHOWN(1)



åå
       chown - ãã¡ã¤ã«ã®ææèã¨ã°ã«ã¼ããå¤æ´ãã

æ¸å¼
       chown [ãªãã·ã§ã³] user[:group] file...

       POSIX ãªãã·ã§ã³: [-R]

       GNU ãªãã·ã§ã³ (ç°¡ç¥å½¢å¼): [-cfhvR] [--dereference]
       [--from=owner:group] [--reference=file] [--help] [--version] [--]

説æ
       chown ã³ãã³ãã¯æå®ãããããããã® file
       ã®ã¦ã¼ã¶ã¼ããã³ã°ã«ã¼ãããããã¯ããããã®ææ権ãã
       ãªãã·ã§ã³ã§ã¯ãªãæåã®å¼ãæ°ã«ãã以ä¸ã®ããã«å¤æ´ãã: ã¦ã¼ã¶ã¼å (ãããã¯æ°å¤ã®
       user ID) ã®ã¿ãæå®ããå ´åã ããããã®ãã¡ã¤ã«ã®ææèã¯æå®ããã¦ã¼ã¶ã¼ã«ãªãã
       ã°ã«ã¼ãã¯å¤ãããªãã ã¦ã¼ã¶ã¼åã«ç¶ãã¦ã³ãã³ã¨ã°ã«ã¼ãå (ãããã¯æ°å¤ã® group
       ID) ã éã«ã¹ãã¼ã¹ãå¥ããã«æå®ããå ´åã
       åãããã«ããããã¡ã¤ã«ã®ã°ã«ã¼ãææ権ãæå®ããã°ã«ã¼ãã«å¤ããã

GNU 詳細
       GNU çã§ã¯ã³ãã³ã®ä»£ããã«ãããã使ãã (BSD ã«å¾ã£ã¦ãã)ã [POSIX
       ã§ã¯ã¦ã¼ã¶ã¼åã«ãããã使ãããããããã¯è¨±ããã¦ããªãã£ãã]

       ã¦ã¼ã¶ã¼åã«ç¶ãã¦ã³ãã³ãããã¯ããããããã®ã«ã°ã«ã¼ãåãç¡ãå ´åã
       ãã¡ã¤ã«ã®ææ権ã¯ãã®ã¦ã¼ã¶ã¼ã«ãªãã ãã¡ã¤ã«ã®ã°ã«ã¼ãã¯ãã®ã¦ã¼ã¶ã¼ã®ã‐
       ã°ã¤ã³ã°ã«ã¼ãã«å¤æ´ãããã ã³ã‐
       ã³ãããã¯ãããã¨ã°ã«ã¼ãã¯æå®ããã¦ãããã¦ã¼ã¶ã¼åãç¡ãå ´åã
       ãã¡ã¤ã«ã®ã°ã«ã¼ãã®ã¿ãå¤æ´ããã; ãã®å ´åã chown ã³ãã³ã㯠chgrp
       ã³ãã³ãã¨åãåããããã

POSIX ãªãã·ã§ã³
       -R     ãã£ã¬ã¯ããªãããã«å«ã¾ãããã®ã®ææ権ãå帰çã«å¤æ´ããã

GNU ãªãã·ã§ã³
       -c, --changes
              å®éã«ææ権ã®å¤æ´ããã£ã file ããããã«ã¤ãã¦ã®åä½ã詳細ã«è¡¨ç¤ºããã

       --dereference
              ã·ã³ããªãã¯ãªã³ã¯ããèªèº«ã§ã¯ãªããæãã¦ããåãå¤æ´ããã

       -f, --silent, --quiet
              ææ権ãå¤æ´ã§ããªãã£ããã¡ã¤ã«ã«ã¤ãã¦ã®ã¨ã©ã¼ã¡ãã»ã¼ã¸ãåºåããªãã

       --from=owner:group
              owner 㨠group ã«ããããããã¡ã¤ã«ã®ã¿ãå¤æ´ããã ã©ã¡ãããçç¥ãããã¨ãã§ããã

       -h, --no-dereference
              æãã¦ããåã§ã¯ãªããã·ã³ããªãã¯ãªã³ã¯ããèªèº«ãå¤æ´ããã ãããããã©ã«ãã§ããã
              lchown(2) ãæä¾ããã¦ããªãå ´åãchown ã¯å¤±æããã
              å帰çã«å¦çãã¦ããæã«ã·ã³ããªãã¯ãªã³ã¯ãè¦ä»ãã¦ãã --verbose
              ãæå®ããã¦ããªãå ´åã ã¨ã©ã¼ã¡ãã»ã¼ã¸ã¯åºåãããªãã

       -v, --verbose
              å¨ã¦ã® file ã«ã¤ãã¦å¤æ´ãã (ãããã¯ããªãã£ã)
              ã¨ããåä½ã詳細ã«è¡¨ç¤ºããã

       -R, --recursive
              ãã£ã¬ã¯ããªãããã«å«ã¾ãããã®ã®ææ権ãå帰çã«å¤æ´ããã

       --reference=file
              æ示çã« user-group å¤ãæ示ãã代ããã«ã åç§ç¨ã«æå®ãã file
              ã®ã¦ã¼ã¶ã¼ãã°ã«ã¼ãã使ãã


GNU æ¨æºãªãã·ã§ã³
       --help æ¨æºåºåã«ä½¿ç¨æ¹æ³ã®ã¡ãã»ã¼ã¸ãåºåãã¦æ£å¸¸çµäºããã

       --version
              æ¨æºåºåã«ãã¼ã¸ã§ã³æå ±ãåºåãã¦æ£å¸¸çµäºããã

       --     ãªãã·ã§ã³ãªã¹ããçµäºããã

ç°å¢å¤æ°
       å¤æ° LANG, LC_ALL, LC_CTYPE, LC_MESSAGES ãé常ã®æå³ãæã¤ã

æºæ
       POSIX 1003.2 ã§ã¯ã¦ã¼ã¶ã¼åã¨ã°ã«ã¼ãåã®éã®åºåãæåã¨ãã¦
       ãããã®ä½¿ç¨ãèªãã¦ããªãã

注æ
       chown(2) 㧠set-uid ãããã set-gid ãããããªã»ããã§ããã·ã¹ãã ã§ãã set-uid ã
       set-gid ã¯ä¿è·ãããã

       ãã®ãã¼ã¸ã§ã¯ fileutils-4.1 ããã±ã¼ã¸ã§ã® chown ã³ãã³ãã«ã¤ãã¦èª¬æãã¦ããã
       ãã®ä»ã®ãã¼ã¸ã§ã³ã§ã¯å°ãéãããããããããªãã ä¿®æ£ã追å 㯠aeb@cwi.nl,
       aw@mail1.bet1.puv.fi, ragnar@ragnar-hojland.com
       å®ã¦ã«ã¡ã¼ã«ã§é£çµ¡ãã¦ã»ããã ããã°ã©ã ã®ãã°ã«ã¤ãã¦ã¯ bug-
       fileutils@gnu.org ã¸å ±åãã¦ã»ããã



GNU fileutils 4.1                18 June 2002                         CHOWN(1)