Query: chown
OS: v7
Section: 2
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
CHOWN(2) System Calls Manual CHOWN(2)NAMEchown - change owner and group of a fileSYNOPSISchown(name, owner, group) char *name;DESCRIPTIONThe 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 ALSOchown(1), passwd(5)DIAGNOSTICSZero 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 |
fchown(2) - bsd |
dpns-chown(1) - debian |
chown(2) - minix |
chown(8) - opendarwin |
Similar Topics in the Unix Linux Community |
---|
Setuid root and chown |
ftp: missing chown command |
chown: Operation not permitted as root |
Pls help. can't do chown ???? |
Apache chown on its files not working |