chown_and_chmod file

Set the ownership and permissions of a file. The mode, owner and group are configured when object is created. Returns 1 on success else 0;