Available in

(1) (1)/cs (1)/de (1)/es (1)/fi (1)/fr (1)/hu (1)/it (1)/ja (1)/ko (1)/nl (1)/pl (1)/pt (1)/ru (1)/tr (1)/zh_CN (1)/zh_TW (1posix) (2) (2)/de (2)/es (2)/fr (2)/ja (2)/ko (2)/nl (2)/pl (2)/ru (2freebsd) (3posix)

TOC

CHMOD(1)                                                              CHMOD(1)




       chmod -


       chmod [options] mode file...

       POSIX : [-R]

       GNU  (): [-cfvR] [--reference=file] [--help] [--version] [--]


       chmod

       file

       mode

        8



       `[ugoa...][[+-=][rwxXstugo...]...][,...]'


        0  `ugoa' ; :  (u)
        (: ) (g)
        (: ) (o)
        (a)  `a'  `ugo' `a' umask


       `+' ; `-' ;  `='

        `rwxXstugo' :  (r)
        (w) () (x)
        (X)
        ID (s)sticky bit (t)
        (u) (g)
        (o)  (`chmod  g-s  file'   set-group-ID (sgid) `chmod ug+s file'  suid
       sgid `chmod o+s file' )

       POSIX  `sticky bit' :



       ( /tmp )

       chmod

       chmod



       chmod


       chmod



POSIX

       -R

GNU

       -c, --changes

              file


       -f, --silent, --quiet


       -v, --verbose

              file


       -R, --recursive


       --reference=file
               mode  file

GNU

       --help

       --version


       --


        16


       8  ( 8)
        8 ; C  0 mode  0055  55


       mode
        0

        OR


       1000
              2000  ID
              4000  ID

        UID  (u+)
              100
              200
              400

        (g+)
              10
              20
              40

        (o+)
              1
              2
              4


        LANG, LC_ALL, LC_CTYPE, LC_MESSAGES


       POSIX 1003.2  -R
        't'
        chmod  suid  sgid

        chmod  `s'


        `t'

       Linux  System V  (System V Interface  Definition  (SVID)  Version  3  )
       sgid
        (mandatory locking)

       /usr/src/linux/Documentation/mandatory.txt



        fileutils-4.1 chmod


        aeb [AT] cwi.nl, aw [AT] mail1.fi, ragnar [AT] ragnar-hojland.com

        bug-fileutils [AT] gnu.org



GNU fileutils 4.1                18 June 2002                         CHMOD(1)

COMMENTS

Add your comment here. Whitespace and linebreaks are preserved. URLs are linked automatically.
CAPTCHA

No HTML allowed. URLs will be linked with nofollow attribute. Whitespace is preserved.