changed the permissions block of the gadget,site and ebooks extension file