Flashnux

GNU/Linux man pages

Livre :
Expressions régulières,
Syntaxe et mise en oeuvre :

ISBN : 978-2-7460-9712-4
EAN : 9782746097124
(Editions ENI)

Unix

Unix v7

chown(2)


CHOWN

CHOWN

NAME
SYNOPSIS
DESCRIPTION
SEE ALSO
DIAGNOSTICS
ASSEMBLER

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)