Query: af_protect
OS: debian
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
af_protect(3) Attribute Filesystem (AtFS) af_protect(3)NAMEaf_chowner, af_chauthor, af_chmod - AtFS protection handlingSYNOPSIS#include <atfs.h> int af_chowner (Af_key *aso, Af_user *owner) int af_chauthor (Af_key *aso, Af_user *author) int af_chmod (Af_key *aso, int mode)DESCRIPTIONaf_chowner and af_chauthor modify the owner and author attribute of an ASO. Only the superuser may change the owner of an object history. The author attribute of an ASO can only be changed by it's owner. The Af_user structure has the following form typedef struct { char af_username[MAXUSERNAMELEN]; char af_userhost[MAXHOSTNAMELEN]; char af_userdomain[MAXDOMAIN+1]; } Af_user; af_chmod changes the mode of an ASO. See chmod(3) for further details.SEE ALSOchown (2), chmod (2)DIAGNOSTICSUpon error, -1 is returned and af_errno is set to the corresponding error number.BUGSaf_chowner does not work. AtFS-1.71 Fri Jun 25 14:33:16 1993 af_protect(3)
Related Man Pages |
---|
af_close(3) - debian |
af_establish(3) - debian |
af_open(3) - debian |
atfreeattrs(3) - debian |
atretattr(3) - debian |
Similar Topics in the Unix Linux Community |
---|
Help with command modification |