@@ -23,11 +23,11 @@ @implementation OFFile + newWithPath: (const char*)path andMode: (const char*)mode { - return [[OFFile alloc] initWithPath: path + return [[self alloc] initWithPath: path andMode: mode]; } + (BOOL)changeModeOfFile: (const char*)path toMode: (mode_t)mode