Home Man
Search
Today's Posts
Register

Linux & Unix Commands - Search Man Pages

Unix Version 7 - man page for chown (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)


All times are GMT -4. The time now is 07:15 AM.

Unix & Linux Forums Content Copyrightę1993-2018. All Rights Reserved.
UNIX.COM Login
Username:
Password:  
Show Password