valid_write - checks if a certain person has write permission on a file
int valid_write( string file, mixed user, string func );
Every time a user tries to write a file, thie driver calls valid_write in the master object to check if the write should be allowed. The arguments are the filename, the name of the person making the write, and the calling function name. If valid_write returns non-zero, the write is allowed.