|
|
DataMuseum.dkPresents historical artifacts from the history of: ICL Comet 32 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about ICL Comet 32 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - download
Length: 816 (0x330)
Types: TextFile
Notes: UNIX file
Names: »chown.2«
└─⟦26887b7e0⟧ Bits:30009717 Comet 32 harddisk image
└─⟦28c352965⟧ »/a« UNIX Filesystem
└─⟦this⟧ »usr/man/man2/chown.2«
.ig @(#)chown.2 2.1 7/1/84 @(#)Copyright (C) 1983 by National Semiconductor Corp. .. .TH CHOWN 2 .UC 4 .SH NAME chown \- change owner and group of a file .SH SYNOPSIS .nf .B chown(name, owner, group) .B char *name; .fi .SH DESCRIPTION The file whose name is given by the null-terminated string pointed to by .I name has its .I owner and .I 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. .PP On some systems, .I chown clears the set-user-id bit on the file to prevent accidental creation of set-user-id programs owned by the super-user. .SH "SEE ALSO" chown(1), passwd(5) .SH DIAGNOSTICS Zero is returned if the owner is changed; \-1 is returned on illegal owner changes.