1chown(1B)          SunOS/BSD Compatibility Package Commands          chown(1B)
2
3
4

NAME

6       chown - change owner
7

SYNOPSIS

9       /usr/ucb/chown [-fR] owner[.group] filename...
10
11

DESCRIPTION

13       chown  changes  the  owner  of the filenames to owner. The owner can be
14       either a decimal user ID (UID) or a login name found  in  the  password
15       file.  An optional group can also be specified. The group can be either
16       a decimal group ID (GID) or a group name found in the GID file.
17
18
19       In the default case, only the super-user of the machine where  the file
20       is  physically  located  can change the owner. The system configuration
21       option {_POSIX_CHOWN_RESTRICTED} and the privileges PRIV_FILE_CHOWN and
22       PRIV_FILE_CHOWN_SELF  also  affect  who  can  change the ownership of a
23       file. See chown(2) and privileges(5).
24

OPTIONS

26       The following options are supported:
27
28       -f    Do not report errors.
29
30
31       -R    Recursively descend into directories setting the ownership of all
32             files  in  each  directory  encountered.  When symbolic links are
33             encountered, their ownership is changed, but they  are  not  tra‐
34             versed.
35
36

USAGE

38       See  largefile(5)  for  the  description  of the behavior of chown when
39       encountering files greater than or equal to 2 Gbyte ( 2^31 bytes).
40

FILES

42       /etc/passwd    Password file
43
44

ATTRIBUTES

46       See attributes(5) for descriptions of the following attributes:
47
48
49
50
51       ┌─────────────────────────────┬─────────────────────────────┐
52       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
53       ├─────────────────────────────┼─────────────────────────────┤
54       │Availability                 │SUNWscpu                     │
55       └─────────────────────────────┴─────────────────────────────┘
56

SEE ALSO

58       chgrp(1), chown(2), group(4), passwd(4),  attributes(5),  largefile(5),
59       privileges(5)
60
61
62
63SunOS 5.11                        21 Jun 2004                        chown(1B)
Impressum