afc_fileops_chown

Name

afc_fileops_chown  -- Change the file permissions

Synopsis

int afc_fileops_chown ( FileOperations * fo, char * file_name, int uid, int gid );

Description

This function changes the user and group owner of a file. It is the same of the shell command chown.

Inputs

fo

Pointer to a valid FileOperations class.

file_name

The file/dir name to work on

uid

New user id for the file

gid

New group id for the file

Result

Note

See Also