chown.1 - sbase - suckless unix tools
 (HTM) git clone git://git.suckless.org/sbase
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
       chown.1 (787B)
       ---
            1 .Dd October 8, 2015
            2 .Dt CHOWN 1
            3 .Os sbase
            4 .Sh NAME
            5 .Nm chown
            6 .Nd change file ownership
            7 .Sh SYNOPSIS
            8 .Nm
            9 .Op Fl h
           10 .Oo
           11 .Fl R
           12 .Op Fl H | L | P
           13 .Oc
           14 .Ar owner Ns Op Pf : Op Ar group
           15 .Op Ar file ...
           16 .Nm
           17 .Op Fl h
           18 .Oo
           19 .Fl R
           20 .Op Fl H | L | P
           21 .Oc
           22 .Pf : Ar group
           23 .Op Ar file ...
           24 .Sh DESCRIPTION
           25 .Nm
           26 sets the user and/or group id of each
           27 .Ar file
           28 to the uid of
           29 .Ar owner
           30 and/or the gid of
           31 .Ar group
           32 respectively.
           33 .Sh OPTIONS
           34 .Bl -tag -width Ds
           35 .It Fl h
           36 Preserve
           37 .Ar file
           38 if it is a symbolic link.
           39 .It Fl R
           40 Change file ownerships recursively.
           41 .It Fl H
           42 Dereference
           43 .Ar file
           44 if it is a symbolic link.
           45 .It Fl L
           46 Dereference all symbolic links.
           47 .It Fl P
           48 Preserve symbolic links.
           49 This is the default.
           50 .El
           51 .Sh SEE ALSO
           52 .Xr chmod 1 ,
           53 .Xr chown 2 ,
           54 .Xr getgrnam 3 ,
           55 .Xr getpwnam 3
           56 .Sh STANDARDS
           57 POSIX.1-2013.