chownchown
[options
] newowner
[:
newgroup
] files
Change the ownership of one or more files to newowner . newowner is either a user ID number or a login name located in /etc/passwd . The optional newgroup is either a group ID number (GID) or a group name located in the /etc/group file. When newgroup is supplied, the behavior is to change the ownership of one or more files to newowner and make it belong to newgroup . Note: some systems accept a period as well as the colon for separating newowner and newgroup . The colon is mandated by POSIX; the period is accepted for compatibility with older BSD systems. Options |
|