I can't say for you what permissions you need set. on different hosting it different, because that I said "Please set exactly as on other file"
If you check row 219 - you will see:
$fd = fopen("./components/com_booklibrary/admin.booklibrary.class.conf.php", "w" )
or die ("Cannot create configuration file."
so yours site can open that file for writing
Can you show that to yours host provider ?