chown(2) v7 man page | unix.com

Man Page: chown

Operating Environment: v7

Section: 2

CHOWN(2)							System Calls Manual							  CHOWN(2)

NAME
chown - change owner and group of a file
SYNOPSIS
chown(name, owner, group) char *name;
DESCRIPTION
The file whose name is given by the null-terminated string pointed to by name has its owner and group changed as specified. Only the super-user may execute this call, because if users were able to give files away, they could defeat the (nonexistent) file-space accounting procedures.
SEE ALSO
chown(1), passwd(5)
DIAGNOSTICS
Zero is returned if the owner is changed; -1 is returned on illegal owner changes.
ASSEMBLER
(chown = 16.) sys chown; name; owner; group CHOWN(2)
Related Man Pages
chown(8) - freebsd
dpns-chown(1) - debian
chown(8) - opendarwin
chown(8) - netbsd
chown(2) - osx
Similar Topics in the Unix Linux Community
NFS Share - chown problem
sudo chown -R `whoami` /usr/local
Change file owner
Pls help. can't do chown ????
File group issues