public void FileAppendAllText(string path, string contents) { FileInfo fileInfo = new FileInfo(path); CreateDirectoryAndParents(fileInfo.Directory); _fileSystemOperations.AppendAllText(path, contents); SetUnixOwnerIfNeeded(path); }